style(lint): lint frontend files

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-30 09:30:40 +02:00
parent 9ef6c21a2a
commit 6593616194
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
3 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@ import { useMutation } from "@vue/apollo-composable";
import { AUTORIZE_APPLICATION } from "@/graphql/application";
import RouteName from "@/router/name";
import { IApplication } from "@/types/application.model";
import { scope } from "./scopes";
import { scope as oAuthScopes } from "./scopes";
import AlertCircle from "vue-material-design-icons/AlertCircle.vue";
const { t } = useI18n({ useScope: "global" });
@ -104,7 +104,7 @@ const isOpen = ref<number>(-1);
const collapses = computed(() =>
(props.scope ?? "")
.split(" ")
.map((localScope) => scope[localScope])
.map((localScope) => oAuthScopes[localScope])
.filter((localScope) => localScope)
);

View File

@ -34,7 +34,7 @@
import { computed, onMounted, ref } from "vue";
import { useI18n } from "vue-i18n";
type position =
type positionValues =
| "top-right"
| "top"
| "top-left"
@ -49,7 +49,7 @@ const props = withDefaults(
onAction?: () => any;
cancelText?: string | null;
variant?: string;
position?: position;
position?: positionValues;
pauseOnHover?: boolean;
indefinite?: boolean;
}>(),

View File

@ -196,7 +196,7 @@ import RouteName from "@/router/name";
import { buildFileFromIMedia } from "@/utils/image";
import { useAvatarMaxSize, useBannerMaxSize } from "@/composition/config";
import { useI18n } from "vue-i18n";
import { computed, ref, watch, defineAsyncComponent, inject } from "vue";
import { computed, ref, defineAsyncComponent, inject } from "vue";
import { useGroup, useUpdateGroup } from "@/composition/apollo/group";
import {
useCurrentActorClient,