Lint fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-10-11 14:04:03 +02:00
parent 3928c2fb2a
commit e94a537f30
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
4 changed files with 3 additions and 11 deletions

View file

@ -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";

View file

@ -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,

View file

@ -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("_")

View file

@ -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",
},