mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +10:00
fix: linting errors
This commit is contained in:
@ -1,8 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<svg
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
>
|
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
d="M9.41 20H6.5c-1.5 0-2.82-.5-3.89-1.57C1.54 17.38 1 16.09 1 14.58q0-1.95 1.17-3.48a5.25 5.25 0 0 1 3.08-1.95c.42-1.53 1.25-2.77 2.5-3.72C9 4.5 10.42 4 12 4c1.95 0 3.61.68 4.96 2.04C18.32 7.39 19 9.05 19 11c1.15.13 2.11.63 2.86 1.5c.64.73 1 1.56 1.1 2.5H18a5.01 5.01 0 0 0-4-2c-2.8 0-5 2.2-5 5c0 .72.15 1.39.41 2M23 17v2h-2v2h-2v-2h-2.2c-.4 1.2-1.5 2-2.8 2c-1.7 0-3-1.3-3-3s1.3-3 3-3c1.3 0 2.4.8 2.8 2zm-8 1c0-.5-.4-1-1-1s-1 .5-1 1s.4 1 1 1s1-.5 1-1"
|
d="M9.41 20H6.5c-1.5 0-2.82-.5-3.89-1.57C1.54 17.38 1 16.09 1 14.58q0-1.95 1.17-3.48a5.25 5.25 0 0 1 3.08-1.95c.42-1.53 1.25-2.77 2.5-3.72C9 4.5 10.42 4 12 4c1.95 0 3.61.68 4.96 2.04C18.32 7.39 19 9.05 19 11c1.15.13 2.11.63 2.86 1.5c.64.73 1 1.56 1.1 2.5H18a5.01 5.01 0 0 0-4-2c-2.8 0-5 2.2-5 5c0 .72.15 1.39.41 2M23 17v2h-2v2h-2v-2h-2.2c-.4 1.2-1.5 2-2.8 2c-1.7 0-3-1.3-3-3s1.3-3 3-3c1.3 0 2.4.8 2.8 2zm-8 1c0-.5-.4-1-1-1s-1 .5-1 1s.4 1 1 1s1-.5 1-1"
|
||||||
|
|||||||
@ -63,7 +63,7 @@
|
|||||||
class="sticky lg:hidden top-0 z-40 flex h-16 justify-between items-center gap-x-4 border-b border-zinc-700 bg-zinc-950 px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8"
|
class="sticky lg:hidden top-0 z-40 flex h-16 justify-between items-center gap-x-4 border-b border-zinc-700 bg-zinc-950 px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8"
|
||||||
>
|
>
|
||||||
<NuxtLink :to="homepageURL">
|
<NuxtLink :to="homepageURL">
|
||||||
<DropWordmark class="mb-0.5" />
|
<DropWordmark class="mb-0.5" />
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
|
|
||||||
<div class="flex gap-x-4 lg:gap-x-6">
|
<div class="flex gap-x-4 lg:gap-x-6">
|
||||||
@ -183,11 +183,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import {
|
import { BellIcon, UserGroupIcon } from "@heroicons/vue/16/solid";
|
||||||
BellIcon,
|
|
||||||
UserGroupIcon,
|
|
||||||
ArrowDownTrayIcon,
|
|
||||||
} from "@heroicons/vue/16/solid";
|
|
||||||
import {
|
import {
|
||||||
Dialog,
|
Dialog,
|
||||||
DialogPanel,
|
DialogPanel,
|
||||||
|
|||||||
@ -8,8 +8,10 @@ export default defineEventHandler(async (h3) => {
|
|||||||
|
|
||||||
const authData = {
|
const authData = {
|
||||||
[AuthMec.Simple]: enabledAuthManagers.Simple,
|
[AuthMec.Simple]: enabledAuthManagers.Simple,
|
||||||
[AuthMec.OpenID]: enabledAuthManagers.OpenID && enabledAuthManagers.OpenID.generateConfiguration(),
|
[AuthMec.OpenID]:
|
||||||
}
|
enabledAuthManagers.OpenID &&
|
||||||
|
enabledAuthManagers.OpenID.generateConfiguration(),
|
||||||
|
};
|
||||||
|
|
||||||
return authData;
|
return authData;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import type { Session, SessionProvider } from "./types";
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT USE THIS. THE CACHE EVICTS SESSIONS.
|
* DO NOT USE THIS. THE CACHE EVICTS SESSIONS.
|
||||||
*
|
*
|
||||||
* This needs work. TODO.
|
* This needs work. TODO.
|
||||||
*/
|
*/
|
||||||
export default function createCacheSessionProvider() {
|
export default function createCacheSessionProvider() {
|
||||||
|
|||||||
Reference in New Issue
Block a user