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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-02-27 17:30:04 +0300
committerdartcafe <github@dartcafe.de>2021-02-27 17:30:04 +0300
commiteaf29cd18279a39cdc3b655aad0f1e6fc122b4e5 (patch)
treee35b100d9f3563da6d7f6fc93a43ff8edab1ed4d /src/js/components/Settings
parent484a5510372fb63549cd2c11254f96eddbf055a4 (diff)
removed unused props, add vue/no-unused-properties
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Settings')
-rw-r--r--src/js/components/Settings/ExpertimantalSettings.vue15
-rw-r--r--src/js/components/Settings/FeatureSettings.vue7
2 files changed, 0 insertions, 22 deletions
diff --git a/src/js/components/Settings/ExpertimantalSettings.vue b/src/js/components/Settings/ExpertimantalSettings.vue
index be209069..7722e1e6 100644
--- a/src/js/components/Settings/ExpertimantalSettings.vue
+++ b/src/js/components/Settings/ExpertimantalSettings.vue
@@ -70,26 +70,11 @@ export default {
CheckBoxDiv,
},
- props: {
- show: {
- type: Boolean,
- default: false,
- },
- },
-
computed: {
...mapState({
settings: state => state.settings.user,
}),
// Add bindings
- realTimePolling: {
- get() {
- return this.settings.realTimePolling
- },
- set(value) {
- this.writeValue({ realTimePolling: value })
- },
- },
experimental: {
get() {
return this.settings.experimental
diff --git a/src/js/components/Settings/FeatureSettings.vue b/src/js/components/Settings/FeatureSettings.vue
index 5a6e7fcd..62692768 100644
--- a/src/js/components/Settings/FeatureSettings.vue
+++ b/src/js/components/Settings/FeatureSettings.vue
@@ -67,13 +67,6 @@ export default {
CheckBoxDiv,
},
- props: {
- show: {
- type: Boolean,
- default: false,
- },
- },
-
computed: {
...mapState({
settings: state => state.settings.user,