I've really exhausted all the possible results in google but still can't find the answer. If there is one. I need to do one simple thing: Using Vuejs and Vue-tables-2 (https://www.npmjs.com/package/vue-tables-2), I need to hide one column, depending on if the user is admin or not, of course, before the table is loaded.
I've tried different approaches but without success. I think that the closest one is using computed propierties, but withou success.
I will not copy code since it is really unnecesary, all I've done didn't work and I am at the beginning again.
I really appreciate if someone could help me.
Thank you