If applied, adds a getter to return all campaigns

This commit is contained in:
Fayaz Ahmed 2021-10-22 15:27:12 +05:30 committed by Tejaswini
parent 0fa24d344b
commit c5b0db59a9

View file

@ -19,6 +19,9 @@ export const getters = {
record => record.campaign_type === campaignType
);
},
getAllCampaigns: _state => {
return _state.records;
},
};
export const actions = {