Commit b27fb233 authored by Filipa Lacerda's avatar Filipa Lacerda

[ci skip] Remove mutations from components, always mutate through actions

parent 7639fb18
<script>
import { mapMutations } from 'vuex';
import { mapActions } from 'vuex';
import timeAgoTooltip from '../../vue_shared/components/time_ago_tooltip.vue';
import * as types from '../stores/mutation_types';
......@@ -54,9 +54,9 @@
},
},
methods: {
...mapMutations({
setTargetNoteHash: types.SET_TARGET_NOTE_HASH,
}),
...mapActions([
'setTargetNoteHash'
]),
handleToggle() {
this.isExpanded = !this.isExpanded;
this.toggleHandler();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment