text: 
  export const state = () => ({
    items: null,
    item: null,
    isLoading: false
  })
  
  export const mutations = {
    setItems (state, items) {
      state.items = items
    },
    setItem (state, item) {
      state.item = item
    },
    setIsLoading (state, item) {
      state.isLoading = item
    }
  }
  
  export const actions = {
    async getItems ({ commit }, options) {
      commit('setIsLoading', true)
      const { data } = await this.$dashboardPikobarApi.get('kasus/umur')
      commit('setItems', data.data)
      commit('setIsLoading', false)
    },
  
    async getItem ({ commit }, query, options) {
      commit('setIsLoading', true)
      const { data } = await this.$dashboardPikobarApi.get('kasus/umur?' + query)
      commit('setItem', data.data)
      commit('setIsLoading', false)
    }
  }
  
  export const getters = {
    itemsMap (state) {
      return state.items
    },
    itemMap (state) {
      return state.item
    },
    isLoading (state) {
      return state.isLoading
    }
  }
  