forked from potsda.mn/mobilizon
Lint fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
3928c2fb2a
commit
e94a537f30
|
@ -116,7 +116,6 @@ import {
|
|||
IAddress,
|
||||
addressFullName,
|
||||
addressToPoiInfos,
|
||||
IPoiInfo,
|
||||
} from "../../types/address.model";
|
||||
import AddressInfo from "../../components/Address/AddressInfo.vue";
|
||||
import { computed, ref, watch, defineAsyncComponent } from "vue";
|
||||
|
|
|
@ -94,7 +94,6 @@ const distance = computed<number>(() => (suggestGeoloc.value ? 150 : 25));
|
|||
const now = computed(() => roundToNearestMinute(new Date()));
|
||||
|
||||
const searchEnabled = computed(() => geoHash.value != undefined);
|
||||
const enabled = ref(false);
|
||||
|
||||
const {
|
||||
result: eventsResult,
|
||||
|
|
|
@ -112,11 +112,7 @@
|
|||
</template>
|
||||
<script lang="ts" setup>
|
||||
import ngeohash from "ngeohash";
|
||||
import {
|
||||
USER_SETTINGS,
|
||||
SET_USER_SETTINGS,
|
||||
UPDATE_USER_LOCALE,
|
||||
} from "../../graphql/user";
|
||||
import { USER_SETTINGS, SET_USER_SETTINGS } from "../../graphql/user";
|
||||
import langs from "../../i18n/langs.json";
|
||||
import RouteName from "../../router/name";
|
||||
import { AddressSearchType } from "@/types/enums";
|
||||
|
@ -136,7 +132,7 @@ const { timezones: serverTimezones, loading: loadingTimezones } =
|
|||
useTimezones();
|
||||
const { loggedUser, loading: loadingUserSettings } = useUserSettings();
|
||||
|
||||
const { t, locale } = useI18n({ useScope: "global" });
|
||||
const { t } = useI18n({ useScope: "global" });
|
||||
|
||||
useHead({
|
||||
title: computed(() => t("Preferences")),
|
||||
|
@ -162,8 +158,6 @@ const selectedTimezone = computed({
|
|||
},
|
||||
});
|
||||
|
||||
const { mutate: updateUserLocale } = useMutation(UPDATE_USER_LOCALE);
|
||||
|
||||
const sanitize = (timezone: string): string => {
|
||||
return timezone
|
||||
.split("_")
|
||||
|
|
|
@ -73,7 +73,7 @@ module.exports = {
|
|||
"mbz-info": "#36bcd4",
|
||||
"mbz-danger": "#cd2026",
|
||||
"mbz-success": "#0d8758",
|
||||
"mbz-warning": '#ffe08a',
|
||||
"mbz-warning": "#ffe08a",
|
||||
// primary: "#272633",
|
||||
// secondary: "#ED8D07",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue