summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-01-20 12:21:43 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-21 13:13:52 +0100
commite101882b9205bf33aa853dfd97753f65e724ff9f (patch)
tree5051da8a3903531fa43ded2b2ce27c59fe595a83 /core/src
parented729c65de08c94fc021a9a46820dbd6be0e3743 (diff)
downloadnextcloud-server-e101882b9205bf33aa853dfd97753f65e724ff9f.tar.gz
nextcloud-server-e101882b9205bf33aa853dfd97753f65e724ff9f.zip
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/components/HeaderMenu.vue3
-rw-r--r--core/src/components/Profile/PrimaryActionButton.vue6
-rw-r--r--core/src/components/UnifiedSearch/SearchResultPlaceholders.vue3
-rw-r--r--core/src/components/setup/InstallButton.vue3
-rw-r--r--core/src/views/Login.vue6
-rw-r--r--core/src/views/Profile.vue18
6 files changed, 13 insertions, 26 deletions
diff --git a/core/src/components/HeaderMenu.vue b/core/src/components/HeaderMenu.vue
index 0bf6dbfc510..55d018677cb 100644
--- a/core/src/components/HeaderMenu.vue
+++ b/core/src/components/HeaderMenu.vue
@@ -20,8 +20,7 @@
-
-->
<template>
- <div
- :id="id"
+ <div :id="id"
v-click-outside="clickOutsideConfig"
:class="{ 'header-menu--opened': opened }"
class="header-menu">
diff --git a/core/src/components/Profile/PrimaryActionButton.vue b/core/src/components/Profile/PrimaryActionButton.vue
index 7cfff4bc664..7a1f031b60c 100644
--- a/core/src/components/Profile/PrimaryActionButton.vue
+++ b/core/src/components/Profile/PrimaryActionButton.vue
@@ -21,15 +21,13 @@
-->
<template>
- <a
- class="profile__primary-action-button"
+ <a class="profile__primary-action-button"
:class="{ 'disabled': disabled }"
:href="href"
:target="target"
rel="noopener noreferrer nofollow"
v-on="$listeners">
- <img
- class="icon"
+ <img class="icon"
:class="[icon, { 'icon-invert': colorPrimaryText === '#ffffff' }]"
:src="icon">
<slot />
diff --git a/core/src/components/UnifiedSearch/SearchResultPlaceholders.vue b/core/src/components/UnifiedSearch/SearchResultPlaceholders.vue
index 31f85f413d3..d2a297a0a37 100644
--- a/core/src/components/UnifiedSearch/SearchResultPlaceholders.vue
+++ b/core/src/components/UnifiedSearch/SearchResultPlaceholders.vue
@@ -22,8 +22,7 @@
<!-- Placeholders -->
<li v-for="placeholder in [1, 2, 3]" :key="placeholder">
- <svg
- class="unified-search__result-placeholder"
+ <svg class="unified-search__result-placeholder"
xmlns="http://www.w3.org/2000/svg"
fill="url(#unified-search__result-placeholder-gradient)">
<rect class="unified-search__result-placeholder-icon" />
diff --git a/core/src/components/setup/InstallButton.vue b/core/src/components/setup/InstallButton.vue
index 90e96207a75..52d2d622a76 100644
--- a/core/src/components/setup/InstallButton.vue
+++ b/core/src/components/setup/InstallButton.vue
@@ -21,8 +21,7 @@
-->
<template>
- <button
- class="primary"
+ <button class="primary"
:autofocus="true"
v-on="$listeners">
{{ t('core', 'Install recommended apps') }}
diff --git a/core/src/views/Login.vue b/core/src/views/Login.vue
index b87027a9e3e..70ac8da6f55 100644
--- a/core/src/views/Login.vue
+++ b/core/src/views/Login.vue
@@ -24,8 +24,7 @@
<transition name="fade" mode="out-in">
<div v-if="!passwordlessLogin && !resetPassword && resetPasswordTarget === ''"
key="login">
- <LoginForm
- :username.sync="user"
+ <LoginForm :username.sync="user"
:redirect-url="redirectUrl"
:direct-login="directLogin"
:messages="messages"
@@ -67,8 +66,7 @@
<div v-else-if="!loading && passwordlessLogin"
key="reset"
class="login-additional">
- <PasswordLessLoginForm
- :username.sync="user"
+ <PasswordLessLoginForm :username.sync="user"
:redirect-url="redirectUrl"
:inverted-colors="invertedColors"
:auto-complete-allowed="autoCompleteAllowed"
diff --git a/core/src/views/Profile.vue b/core/src/views/Profile.vue
index be3867c984e..eb78e760709 100644
--- a/core/src/views/Profile.vue
+++ b/core/src/views/Profile.vue
@@ -31,8 +31,7 @@
<a v-if="isCurrentUser"
class="primary profile__header__container__edit-button"
:href="settingsUrl">
- <PencilIcon
- class="pencil-icon"
+ <PencilIcon class="pencil-icon"
decorative
title=""
:size="16" />
@@ -50,8 +49,7 @@
<div class="profile__content">
<div class="profile__sidebar">
- <Avatar
- class="avatar"
+ <Avatar class="avatar"
:class="{ interactive: isCurrentUser }"
:user="userId"
:size="180"
@@ -84,8 +82,7 @@
backgroundImage: `url(${action.icon})`,
...(colorMainBackground === '#181818' && { filter: 'invert(1)' })
}">
- <ActionLink
- :close-after-click="true"
+ <ActionLink :close-after-click="true"
:icon="action.icon"
:href="action.target"
:target="action.id === 'phone' ? '_self' :'_blank'">
@@ -93,8 +90,7 @@
</ActionLink>
</Actions>
<template v-if="otherActions">
- <Actions
- :force-menu="true">
+ <Actions :force-menu="true">
<ActionLink v-for="action in otherActions"
:key="action.id"
:class="{ 'icon-invert': colorMainBackground === '#181818' }"
@@ -117,8 +113,7 @@
</div>
<div v-if="address" class="detail">
<p>
- <MapMarkerIcon
- class="map-icon"
+ <MapMarkerIcon class="map-icon"
decorative
title=""
:size="16" />
@@ -136,8 +131,7 @@
</template>
<template v-else>
<div class="profile__blocks-empty-info">
- <AccountIcon
- decorative
+ <AccountIcon decorative
title=""
fill-color="var(--color-text-maxcontrast)"
:size="60" />