Skip to content
Snippets Groups Projects
Commit b27fb233 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

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

parent 7639fb18
No related branches found
No related tags found
No related merge requests found
<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';
 
Loading
Loading
@@ -54,9 +54,9 @@
},
},
methods: {
...mapMutations({
setTargetNoteHash: types.SET_TARGET_NOTE_HASH,
}),
...mapActions([
'setTargetNoteHash'
]),
handleToggle() {
this.isExpanded = !this.isExpanded;
this.toggleHandler();
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment