If applied, adds a getter to return all campaigns
This commit is contained in:
parent
0fa24d344b
commit
c5b0db59a9
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ export const getters = {
|
|||
record => record.campaign_type === campaignType
|
||||
);
|
||||
},
|
||||
getAllCampaigns: _state => {
|
||||
return _state.records;
|
||||
},
|
||||
};
|
||||
|
||||
export const actions = {
|
||||
|
|
Loading…
Reference in a new issue