diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-22 09:54:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 09:54:34 +0100 |
commit | 3192b3e2f205cfcd478889c10e6b9fd6d4232df1 (patch) | |
tree | 17fe45a6ef93efb0be11faa2eefc6e6467e92a66 /apps/weather_status | |
parent | 9f489422b462b5d2c27981b36ec6b3509cc08d0d (diff) | |
parent | ddbe62ae405598581906f5de5ad622fab4a29f76 (diff) | |
download | nextcloud-server-3192b3e2f205cfcd478889c10e6b9fd6d4232df1.tar.gz nextcloud-server-3192b3e2f205cfcd478889c10e6b9fd6d4232df1.zip |
Merge pull request #30729 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-7.0.1
Diffstat (limited to 'apps/weather_status')
-rw-r--r-- | apps/weather_status/src/App.vue | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/weather_status/src/App.vue b/apps/weather_status/src/App.vue index e8cab2272d6..78cbaadeb8d 100644 --- a/apps/weather_status/src/App.vue +++ b/apps/weather_status/src/App.vue @@ -22,8 +22,7 @@ <template> <li :class="{ inline }"> <div id="weather-status-menu-item"> - <Actions - class="weather-status-menu-item__subheader" + <Actions class="weather-status-menu-item__subheader" :default-icon="weatherIcon" :menu-title="currentWeatherMessage"> <ActionText v-if="gotWeather" @@ -43,14 +42,12 @@ {{ addRemoveFavoriteText }} </ActionButton> <ActionSeparator v-if="address && !errorMessage" /> - <ActionButton - icon="icon-crosshair" + <ActionButton icon="icon-crosshair" :close-after-click="true" @click="onBrowserLocationClick"> {{ t('weather_status', 'Detect location') }} </ActionButton> - <ActionInput - ref="addressInput" + <ActionInput ref="addressInput" :disabled="false" icon="icon-rename" type="text" @@ -58,8 +55,7 @@ @submit="onAddressSubmit"> {{ t('weather_status', 'Set custom address') }} </ActionInput> - <ActionButton - v-show="favorites.length > 0" + <ActionButton v-show="favorites.length > 0" :icon="toggleFavoritesIcon" @click="showFavorites = !showFavorites"> {{ t('weather_status', 'Favorites') }} |