I have this promise in vuex store with mutation and state:
state: { categories: null }, actions: { get_all_categories (context) { return new Promi