Welcome to mirror list, hosted at ThFree Co, Russian Federation.

optionMixins.js « mixins « js « src - github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e05cadf6444c58d4f7193a1ec7c37a89ba61ffae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export const confirmOption = {
	methods: {
		confirmOption(option) {
			this.$store.dispatch('options/confirm', { option })
		},
	},
}

export const removeOption = {
	methods: {
		removeOption(option) {
			this.$store.dispatch('options/delete', { option })
		},
	},
}