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: 9e5257cd8ee438f6ab73cc2f9cad2fbeddb4428d (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: option })
		},
	},
}

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