diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:26:43 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:26:43 +0200 |
commit | 0f8aca9d87db9022fe942a3d3fbb11433e152676 (patch) | |
tree | 5b36724719611ebb87b3d9290a51475f32b48e64 /apps/settings/src | |
parent | fc31cb8bf2d6cf7ee7af46af38e1b06002f7fb26 (diff) | |
download | nextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.tar.gz nextcloud-server-0f8aca9d87db9022fe942a3d3fbb11433e152676.zip |
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/App.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/AppList/AppItem.vue | 2 | ||||
-rw-r--r-- | apps/settings/src/components/AppManagement.vue | 16 | ||||
-rw-r--r-- | apps/settings/src/components/UserList.vue | 4 | ||||
-rw-r--r-- | apps/settings/src/components/UserList/UserRow.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/mixins/UserRowMixin.js | 4 | ||||
-rw-r--r-- | apps/settings/src/store/api.js | 2 | ||||
-rw-r--r-- | apps/settings/src/views/Apps.vue | 2 |
8 files changed, 20 insertions, 20 deletions
diff --git a/apps/settings/src/App.vue b/apps/settings/src/App.vue index ed0441fa40a..f7f81da5063 100644 --- a/apps/settings/src/App.vue +++ b/apps/settings/src/App.vue @@ -27,7 +27,7 @@ <script> export default { name: 'App', - beforeMount: function() { + beforeMount() { // importing server data into the store const serverDataElmt = document.getElementById('serverData') if (serverDataElmt !== null) { diff --git a/apps/settings/src/components/AppList/AppItem.vue b/apps/settings/src/components/AppList/AppItem.vue index 8442f63ed91..eeaa3ae3899 100644 --- a/apps/settings/src/components/AppList/AppItem.vue +++ b/apps/settings/src/components/AppList/AppItem.vue @@ -138,7 +138,7 @@ export default { }, }, watch: { - '$route.params.id': function(id) { + '$route.params.id'(id) { this.isSelected = (this.app.id === id) }, }, diff --git a/apps/settings/src/components/AppManagement.vue b/apps/settings/src/components/AppManagement.vue index 8d9ebed5e42..6bf1eee83cf 100644 --- a/apps/settings/src/components/AppManagement.vue +++ b/apps/settings/src/components/AppManagement.vue @@ -76,7 +76,7 @@ export default { } return false }, - setGroupLimit: function() { + setGroupLimit() { if (!this.groupCheckedAppsData) { this.$store.dispatch('enableApp', { appId: this.app.id, groups: [] }) } @@ -93,7 +93,7 @@ export default { }, addGroupLimitation(group) { const groups = this.app.groups.concat([]).concat([group.id]) - this.$store.dispatch('enableApp', { appId: this.app.id, groups: groups }) + this.$store.dispatch('enableApp', { appId: this.app.id, groups }) }, removeGroupLimitation(group) { const currentGroups = this.app.groups.concat([]) @@ -104,32 +104,32 @@ export default { this.$store.dispatch('enableApp', { appId: this.app.id, groups: currentGroups }) }, forceEnable(appId) { - this.$store.dispatch('forceEnableApp', { appId: appId, groups: [] }) + this.$store.dispatch('forceEnableApp', { appId, groups: [] }) .then((response) => { OC.Settings.Apps.rebuildNavigation() }) .catch((error) => { OC.Notification.show(error) }) }, enable(appId) { - this.$store.dispatch('enableApp', { appId: appId, groups: [] }) + this.$store.dispatch('enableApp', { appId, groups: [] }) .then((response) => { OC.Settings.Apps.rebuildNavigation() }) .catch((error) => { OC.Notification.show(error) }) }, disable(appId) { - this.$store.dispatch('disableApp', { appId: appId }) + this.$store.dispatch('disableApp', { appId }) .then((response) => { OC.Settings.Apps.rebuildNavigation() }) .catch((error) => { OC.Notification.show(error) }) }, remove(appId) { - this.$store.dispatch('uninstallApp', { appId: appId }) + this.$store.dispatch('uninstallApp', { appId }) .then((response) => { OC.Settings.Apps.rebuildNavigation() }) .catch((error) => { OC.Notification.show(error) }) }, install(appId) { - this.$store.dispatch('enableApp', { appId: appId }) + this.$store.dispatch('enableApp', { appId }) .then((response) => { OC.Settings.Apps.rebuildNavigation() }) .catch((error) => { OC.Notification.show(error) }) }, update(appId) { - this.$store.dispatch('updateApp', { appId: appId }) + this.$store.dispatch('updateApp', { appId }) .then((response) => { OC.Settings.Apps.rebuildNavigation() }) .catch((error) => { OC.Notification.show(error) }) }, diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue index 4498b6eba32..0ef60ed70be 100644 --- a/apps/settings/src/components/UserList.vue +++ b/apps/settings/src/components/UserList.vue @@ -385,7 +385,7 @@ export default { }, watch: { // watch url change and group select - selectedGroup: function(val, old) { + selectedGroup(val, old) { // if selected is the disabled group but it's empty this.redirectIfDisabled() this.$store.commit('resetUsers') @@ -395,7 +395,7 @@ export default { // make sure the infiniteLoading state is changed if we manually // add/remove data from the store - usersCount: function(val, old) { + usersCount(val, old) { // deleting the last user, reset the list if (val === 0 && old === 1) { this.$refs.infiniteLoading.stateChanger.reset() diff --git a/apps/settings/src/components/UserList/UserRow.vue b/apps/settings/src/components/UserList/UserRow.vue index d8bcbd50d45..d48e2934fd4 100644 --- a/apps/settings/src/components/UserList/UserRow.vue +++ b/apps/settings/src/components/UserList/UserRow.vue @@ -367,11 +367,11 @@ export default { wipeUserDevices() { const userid = this.user.id OC.dialogs.confirmDestructive( - t('settings', 'In case of lost device or exiting the organization, this can remotely wipe the Nextcloud data from all devices associated with {userid}. Only works if the devices are connected to the internet.', { userid: userid }), + t('settings', 'In case of lost device or exiting the organization, this can remotely wipe the Nextcloud data from all devices associated with {userid}. Only works if the devices are connected to the internet.', { userid }), t('settings', 'Remote wipe of devices'), { type: OC.dialogs.YES_NO_BUTTONS, - confirm: t('settings', 'Wipe {userid}\'s devices', { userid: userid }), + confirm: t('settings', 'Wipe {userid}\'s devices', { userid }), confirmClasses: 'error', cancel: t('settings', 'Cancel'), }, @@ -393,11 +393,11 @@ export default { deleteUser() { const userid = this.user.id OC.dialogs.confirmDestructive( - t('settings', 'Fully delete {userid}\'s account including all their personal files, app data, etc.', { userid: userid }), + t('settings', 'Fully delete {userid}\'s account including all their personal files, app data, etc.', { userid }), t('settings', 'Account deletion'), { type: OC.dialogs.YES_NO_BUTTONS, - confirm: t('settings', 'Delete {userid}\'s account', { userid: userid }), + confirm: t('settings', 'Delete {userid}\'s account', { userid }), confirmClasses: 'error', cancel: t('settings', 'Cancel'), }, diff --git a/apps/settings/src/mixins/UserRowMixin.js b/apps/settings/src/mixins/UserRowMixin.js index 7d7ef44d77d..4107b247b14 100644 --- a/apps/settings/src/mixins/UserRowMixin.js +++ b/apps/settings/src/mixins/UserRowMixin.js @@ -163,8 +163,8 @@ export default { return generateUrl( '/avatar/{user}/{size}?v={version}', { - user: user, - size: size, + user, + size, version: oc_userconfig.avatar.version, } ) diff --git a/apps/settings/src/store/api.js b/apps/settings/src/store/api.js index 37d9a268607..9d34e4835e7 100644 --- a/apps/settings/src/store/api.js +++ b/apps/settings/src/store/api.js @@ -76,6 +76,6 @@ export default { return axios.put(sanitize(url), data) }, delete(url, data) { - return axios.delete(sanitize(url), { data: data }) + return axios.delete(sanitize(url), { data }) }, } diff --git a/apps/settings/src/views/Apps.vue b/apps/settings/src/views/Apps.vue index ccdb2d1b8de..2c7dd9dae0e 100644 --- a/apps/settings/src/views/Apps.vue +++ b/apps/settings/src/views/Apps.vue @@ -163,7 +163,7 @@ export default { }, }, watch: { - category: function(val, old) { + category(val, old) { this.setSearch('') }, }, |