diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-20 12:21:43 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-21 13:13:52 +0100 |
commit | e101882b9205bf33aa853dfd97753f65e724ff9f (patch) | |
tree | 5051da8a3903531fa43ded2b2ce27c59fe595a83 /core/src/views | |
parent | ed729c65de08c94fc021a9a46820dbd6be0e3743 (diff) | |
download | nextcloud-server-e101882b9205bf33aa853dfd97753f65e724ff9f.tar.gz nextcloud-server-e101882b9205bf33aa853dfd97753f65e724ff9f.zip |
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core/src/views')
-rw-r--r-- | core/src/views/Login.vue | 6 | ||||
-rw-r--r-- | core/src/views/Profile.vue | 18 |
2 files changed, 8 insertions, 16 deletions
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" /> |