style(lint): lint frontend files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
9ef6c21a2a
commit
6593616194
@ -87,7 +87,7 @@ import { useMutation } from "@vue/apollo-composable";
|
|||||||
import { AUTORIZE_APPLICATION } from "@/graphql/application";
|
import { AUTORIZE_APPLICATION } from "@/graphql/application";
|
||||||
import RouteName from "@/router/name";
|
import RouteName from "@/router/name";
|
||||||
import { IApplication } from "@/types/application.model";
|
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";
|
import AlertCircle from "vue-material-design-icons/AlertCircle.vue";
|
||||||
|
|
||||||
const { t } = useI18n({ useScope: "global" });
|
const { t } = useI18n({ useScope: "global" });
|
||||||
@ -104,7 +104,7 @@ const isOpen = ref<number>(-1);
|
|||||||
const collapses = computed(() =>
|
const collapses = computed(() =>
|
||||||
(props.scope ?? "")
|
(props.scope ?? "")
|
||||||
.split(" ")
|
.split(" ")
|
||||||
.map((localScope) => scope[localScope])
|
.map((localScope) => oAuthScopes[localScope])
|
||||||
.filter((localScope) => localScope)
|
.filter((localScope) => localScope)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
import { computed, onMounted, ref } from "vue";
|
import { computed, onMounted, ref } from "vue";
|
||||||
import { useI18n } from "vue-i18n";
|
import { useI18n } from "vue-i18n";
|
||||||
|
|
||||||
type position =
|
type positionValues =
|
||||||
| "top-right"
|
| "top-right"
|
||||||
| "top"
|
| "top"
|
||||||
| "top-left"
|
| "top-left"
|
||||||
@ -49,7 +49,7 @@ const props = withDefaults(
|
|||||||
onAction?: () => any;
|
onAction?: () => any;
|
||||||
cancelText?: string | null;
|
cancelText?: string | null;
|
||||||
variant?: string;
|
variant?: string;
|
||||||
position?: position;
|
position?: positionValues;
|
||||||
pauseOnHover?: boolean;
|
pauseOnHover?: boolean;
|
||||||
indefinite?: boolean;
|
indefinite?: boolean;
|
||||||
}>(),
|
}>(),
|
||||||
|
@ -196,7 +196,7 @@ import RouteName from "@/router/name";
|
|||||||
import { buildFileFromIMedia } from "@/utils/image";
|
import { buildFileFromIMedia } from "@/utils/image";
|
||||||
import { useAvatarMaxSize, useBannerMaxSize } from "@/composition/config";
|
import { useAvatarMaxSize, useBannerMaxSize } from "@/composition/config";
|
||||||
import { useI18n } from "vue-i18n";
|
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 { useGroup, useUpdateGroup } from "@/composition/apollo/group";
|
||||||
import {
|
import {
|
||||||
useCurrentActorClient,
|
useCurrentActorClient,
|
||||||
|
Loading…
Reference in New Issue
Block a user