diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2019-11-13 12:05:10 +0000 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-19 11:55:33 +0100 |
commit | ec01e0a790448fff38364f629a4de4edb5d465bf (patch) | |
tree | 8fb5369e3d6f9f805025802e12feaa4dfaef1e03 /apps/accessibility/src | |
parent | 5d9fd7ba0cced84f1d07627b0860ac5490de164d (diff) | |
download | nextcloud-server-ec01e0a790448fff38364f629a4de4edb5d465bf.tar.gz nextcloud-server-ec01e0a790448fff38364f629a4de4edb5d465bf.zip |
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases)
- [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0)
Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/accessibility/src')
-rw-r--r-- | apps/accessibility/src/Accessibility.vue | 22 | ||||
-rw-r--r-- | apps/accessibility/src/components/ItemPreview.vue | 12 | ||||
-rw-r--r-- | apps/accessibility/src/main.js | 4 |
3 files changed, 19 insertions, 19 deletions
diff --git a/apps/accessibility/src/Accessibility.vue b/apps/accessibility/src/Accessibility.vue index 6ba680dc009..63cfec20c94 100644 --- a/apps/accessibility/src/Accessibility.vue +++ b/apps/accessibility/src/Accessibility.vue @@ -34,12 +34,12 @@ export default { props: { availableConfig: { type: Object, - required: true + required: true, }, userConfig: { type: Object, - required: true - } + required: true, + }, }, computed: { themes() { @@ -55,7 +55,7 @@ export default { return { theme: this.userConfig.theme, highcontrast: this.userConfig.highcontrast, - font: this.userConfig.font + font: this.userConfig.font, } }, description() { @@ -87,7 +87,7 @@ export default { }, designteamLink() { return `<a target="_blank" href="https://nextcloud.com/design" rel="noreferrer nofollow">${t('accessibility', 'our design team')}</a>` - } + }, }, methods: { // SELECT handlers @@ -123,17 +123,17 @@ export default { url: generateOcsUrl('apps/accessibility/api/v1/config', 2) + type, method: isDelete ? 'DELETE' : 'PUT', data: { - value: id - } + value: id, + }, }) this.userConfig[type] = id // Remove old link - let link = document.querySelector('link[rel=stylesheet][href*=accessibility][href*=user-]') + const link = document.querySelector('link[rel=stylesheet][href*=accessibility][href*=user-]') if (!link) { // insert new css - let link = document.createElement('link') + const link = document.createElement('link') link.rel = 'stylesheet' link.href = generateUrl('/apps/accessibility/css/user-style.css') + '?v=' + new Date().getTime() document.head.appendChild(link) @@ -157,7 +157,7 @@ export default { console.error(err, err.response) OC.Notification.showTemporary(t('accessibility', err.response.data.ocs.meta.message + '. Unable to apply the setting.')) } - } - } + }, + }, } </script> diff --git a/apps/accessibility/src/components/ItemPreview.vue b/apps/accessibility/src/components/ItemPreview.vue index c0e52cc0513..9c74eb03fd1 100644 --- a/apps/accessibility/src/components/ItemPreview.vue +++ b/apps/accessibility/src/components/ItemPreview.vue @@ -19,12 +19,12 @@ export default { props: { preview: { type: Object, - required: true + required: true, }, selected: { type: String, - default: null - } + default: null, + }, }, computed: { checked: { @@ -33,8 +33,8 @@ export default { }, set(checked) { this.$emit('select', checked ? this.preview.id : '') - } - } - } + }, + }, + }, } </script> diff --git a/apps/accessibility/src/main.js b/apps/accessibility/src/main.js index 0cb5952234b..2f2db68968d 100644 --- a/apps/accessibility/src/main.js +++ b/apps/accessibility/src/main.js @@ -14,7 +14,7 @@ const View = Vue.extend(App) const accessibility = new View({ propsData: { availableConfig, - userConfig - } + userConfig, + }, }) accessibility.$mount('#accessibility') |