mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-26 00:34:01 +00:00
actions
This commit is contained in:
parent
d44938546f
commit
13b48f11bb
4
src/store/cache/actions.ts
vendored
4
src/store/cache/actions.ts
vendored
|
@ -3,8 +3,8 @@ import { RootStateInterface } from '../index';
|
|||
import { CacheStateInterface } from './state';
|
||||
|
||||
const actions: ActionTree<CacheStateInterface, RootStateInterface> = {
|
||||
someAction (/* context */) {
|
||||
// your code
|
||||
clearCache(context) {
|
||||
context.commit('setTasks', []);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user