diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-20 14:21:43 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-21 15:13:52 +0300 |
commit | e101882b9205bf33aa853dfd97753f65e724ff9f (patch) | |
tree | 5051da8a3903531fa43ded2b2ce27c59fe595a83 /apps/weather_status | |
parent | ed729c65de08c94fc021a9a46820dbd6be0e3743 (diff) |
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
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') }} |