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 /core/src/components | |
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 'core/src/components')
-rw-r--r-- | core/src/components/ContactsMenu.js | 2 | ||||
-rw-r--r-- | core/src/components/login/LoginForm.vue | 26 | ||||
-rw-r--r-- | core/src/components/login/ResetPassword.vue | 18 | ||||
-rw-r--r-- | core/src/components/login/UpdatePassword.vue | 18 | ||||
-rw-r--r-- | core/src/components/setup/RecommendedApps.vue | 22 |
5 files changed, 44 insertions, 42 deletions
diff --git a/core/src/components/ContactsMenu.js b/core/src/components/ContactsMenu.js index 661b6d8e7c6..0791fe83b0c 100644 --- a/core/src/components/ContactsMenu.js +++ b/core/src/components/ContactsMenu.js @@ -29,6 +29,6 @@ export const setUp = () => { // eslint-disable-next-line no-new new OC.ContactsMenu({ el: $('#contactsmenu .menu'), - trigger: $('#contactsmenu .menutoggle') + trigger: $('#contactsmenu .menutoggle'), }) } diff --git a/core/src/components/login/LoginForm.vue b/core/src/components/login/LoginForm.vue index 32821f37ed6..687896ceb54 100644 --- a/core/src/components/login/LoginForm.vue +++ b/core/src/components/login/LoginForm.vue @@ -141,34 +141,34 @@ export default { props: { username: { type: String, - default: '' + default: '', }, redirectUrl: { - type: String + type: String, }, errors: { type: Array, - default: () => [] + default: () => [], }, messages: { type: Array, - default: () => [] + default: () => [], }, throttleDelay: { - type: Number + type: Number, }, invertedColors: { type: Boolean, - default: false + default: false, }, autoCompleteAllowed: { type: Boolean, - default: true + default: true, }, directLogin: { type: Boolean, - default: false - } + default: false, + }, }, data() { return { @@ -177,7 +177,7 @@ export default { timezoneOffset: (-new Date().getTimezoneOffset() / 60), user: this.username, password: '', - passwordInputType: 'password' + passwordInputType: 'password', } }, computed: { @@ -192,7 +192,7 @@ export default { }, userDisabled() { return this.errors.indexOf('userdisabled') !== -1 - } + }, }, mounted() { if (this.username === '') { @@ -215,8 +215,8 @@ export default { submit() { this.loading = true this.$emit('submit') - } - } + }, + }, } </script> diff --git a/core/src/components/login/ResetPassword.vue b/core/src/components/login/ResetPassword.vue index 829320eec85..3a6d49a9025 100644 --- a/core/src/components/login/ResetPassword.vue +++ b/core/src/components/login/ResetPassword.vue @@ -82,29 +82,29 @@ export default { props: { username: { type: String, - required: true + required: true, }, resetPasswordLink: { type: String, - required: true + required: true, }, invertedColors: { type: Boolean, - default: false - } + default: false, + }, }, data() { return { error: false, loading: false, message: undefined, - user: this.username + user: this.username, } }, watch: { username(value) { this.user = value - } + }, }, methods: { updateUsername() { @@ -117,7 +117,7 @@ export default { const url = generateUrl('/lostpassword/email') const data = { - user: this.user + user: this.user, } return axios.post(url, data) @@ -136,8 +136,8 @@ export default { this.message = 'send-error' }) .then(() => { this.loading = false }) - } - } + }, + }, } </script> diff --git a/core/src/components/login/UpdatePassword.vue b/core/src/components/login/UpdatePassword.vue index 0da2221c4c0..3fa3c60773c 100644 --- a/core/src/components/login/UpdatePassword.vue +++ b/core/src/components/login/UpdatePassword.vue @@ -74,16 +74,16 @@ export default { props: { username: { type: String, - required: true + required: true, }, resetPasswordTarget: { type: String, - required: true + required: true, }, invertedColors: { type: Boolean, - default: false - } + default: false, + }, }, data() { return { @@ -93,13 +93,13 @@ export default { user: this.username, password: '', encrypted: false, - proceed: false + proceed: false, } }, watch: { username(value) { this.user = value - } + }, }, methods: { async submit() { @@ -110,7 +110,7 @@ export default { try { const { data } = await Axios.post(this.resetPasswordTarget, { password: this.password, - proceed: this.proceed + proceed: this.proceed, }) if (data && data.status === 'success') { this.message = 'send-success' @@ -129,8 +129,8 @@ export default { } finally { this.loading = false } - } - } + }, + }, } </script> diff --git a/core/src/components/setup/RecommendedApps.vue b/core/src/components/setup/RecommendedApps.vue index 5dfe6fb4d27..79c3aae9e6a 100644 --- a/core/src/components/setup/RecommendedApps.vue +++ b/core/src/components/setup/RecommendedApps.vue @@ -51,7 +51,9 @@ </p> </div> </div> - <p class="text-center"><a :href="defaultPageUrl">{{ t('core', 'Cancel') }}</a></p> + <p class="text-center"> + <a :href="defaultPageUrl">{{ t('core', 'Cancel') }}</a> + </p> </div> </template> @@ -67,19 +69,19 @@ import logger from '../../logger' const recommended = { calendar: { description: t('core', 'Schedule work & meetings, synced with all your devices.'), - icon: imagePath('core', 'places/calendar.svg') + icon: imagePath('core', 'places/calendar.svg'), }, contacts: { description: t('core', 'Keep your colleagues and friends in one place without leaking their private info.'), - icon: imagePath('core', 'places/contacts.svg') + icon: imagePath('core', 'places/contacts.svg'), }, mail: { description: t('core', 'Simple email app nicely integrated with Files, Contacts and Calendar.'), - icon: imagePath('core', 'actions/mail.svg') + icon: imagePath('core', 'actions/mail.svg'), }, talk: { - description: t('core', 'Screensharing, online meetings and web conferencing – on desktop and with mobile apps.') - } + description: t('core', 'Screensharing, online meetings and web conferencing – on desktop and with mobile apps.'), + }, } const recommendedIds = Object.keys(recommended) const defaultPageUrl = loadState('core', 'defaultPageUrl') @@ -91,13 +93,13 @@ export default { loadingApps: true, loadingAppsError: false, apps: [], - defaultPageUrl + defaultPageUrl, } }, computed: { recommendedApps() { return this.apps.filter(app => recommendedIds.includes(app.id)) - } + }, }, mounted() { return axios.get(generateUrl('settings/apps/list')) @@ -159,8 +161,8 @@ export default { return '' } return recommended[appId].description - } - } + }, + }, } </script> |