Fix issue with update
This commit is contained in:
parent
61204e2c19
commit
da96cc1485
@ -38,13 +38,13 @@
|
||||
:subtitle="'#' + discriminator"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<v-list-item-avatar end>
|
||||
<v-avatar>
|
||||
<v-btn
|
||||
icon="mdi-exit-to-app"
|
||||
class="text-high-emphasis text-white"
|
||||
v-on:click="logoutAndRedirect()"
|
||||
></v-btn>
|
||||
</v-list-item-avatar>
|
||||
</v-avatar>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
|
@ -12,19 +12,20 @@
|
||||
:data-guild-id="guild.id"
|
||||
@click="clickOnGuild(guild.id)"
|
||||
>
|
||||
<v-list-item-avatar
|
||||
start
|
||||
:color="guild.iconUrl ? '' : 'grey-darken-3'"
|
||||
>
|
||||
<template v-slot:prepend>
|
||||
<v-avatar start :color="guild.iconUrl ? '' : 'grey-darken-3'">
|
||||
<v-img v-if="guild.iconUrl" :src="guild.iconUrl"></v-img>
|
||||
<template v-if="!guild.iconUrl">{{ guild.name[1] }}</template>
|
||||
</v-list-item-avatar>
|
||||
</v-avatar>
|
||||
</template>
|
||||
<v-list-item-title>{{ guild.name }}</v-list-item-title>
|
||||
</v-list-item>
|
||||
<v-list-item :href="inviteLink" target="_blank">
|
||||
<v-list-item-avatar color="grey-darken-3" start>
|
||||
<template v-slot:prepend>
|
||||
<v-avatar color="grey-darken-3" start>
|
||||
<v-icon color="green">mdi-plus</v-icon>
|
||||
</v-list-item-avatar>
|
||||
</v-avatar>
|
||||
</template>
|
||||
<v-list-item-title> Invite Claptrap Bot ! </v-list-item-title>
|
||||
</v-list-item>
|
||||
</template>
|
||||
@ -86,7 +87,7 @@ function loadMutualGuilds() {
|
||||
mutualGuildsStore.loaded = true;
|
||||
if (
|
||||
!mutualGuildsStore.getGuild(
|
||||
router.currentRoute.value.params?.guildId as string
|
||||
router.currentRoute.value.params?.guildId as string,
|
||||
)
|
||||
) {
|
||||
router.push("/");
|
||||
|
@ -48,7 +48,11 @@
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-btn :href="inviteLinkStore.inviteLink" color="primary">
|
||||
<v-btn
|
||||
:href="inviteLinkStore.inviteLink"
|
||||
color="primary"
|
||||
block
|
||||
>
|
||||
Invite me !
|
||||
</v-btn>
|
||||
</v-col>
|
||||
@ -68,6 +72,7 @@
|
||||
to="/oauth2/redirect"
|
||||
prepend-icon="mdi-discord"
|
||||
color="primary"
|
||||
block
|
||||
>
|
||||
Login with Discord
|
||||
</v-btn>
|
||||
@ -91,7 +96,7 @@
|
||||
</v-avatar>
|
||||
</v-col>
|
||||
<v-col class="px-0 py-2" cols="10" sm="1" md="10" xl="11">
|
||||
<v-row justify="left">
|
||||
<v-row justify="start">
|
||||
<v-col class="d-flex align-center">
|
||||
<p class="text-primary">Claptrap Bot</p>
|
||||
<span class="text-disabled text-caption ml-2">
|
||||
@ -99,7 +104,7 @@
|
||||
</span>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row justify="left" class="mb-2">
|
||||
<v-row justify="start" class="mb-2">
|
||||
<v-col
|
||||
class="d-flex flex-column justify-start text-start pt-0 text-body-2 pb-0"
|
||||
cols="12"
|
||||
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.web.json",
|
||||
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
|
||||
"exclude": ["src/**/__tests__/*"],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,18 +1,23 @@
|
||||
{
|
||||
"files": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.vite-config.json"
|
||||
},
|
||||
{
|
||||
"path": "./tsconfig.app.json"
|
||||
},
|
||||
{
|
||||
"path": "./tsconfig.vitest.json"
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"target": "ESNext",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"strict": true,
|
||||
"jsx": "preserve",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"esModuleInterop": true,
|
||||
"lib": ["ESNext", "DOM"],
|
||||
"skipLibCheck": true,
|
||||
"noEmit": true,
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
,
|
||||
{
|
||||
"path": "./tsconfig.pinia-plugin-persist.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
9
tsconfig.node.json
Normal file
9
tsconfig.node.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"include": ["vite.config.ts"]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"types": ["pinia-plugin-persist"]
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.node.json",
|
||||
"include": ["vite.config.*"],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"types": ["node", "vitest"]
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig.app.json",
|
||||
"exclude": [],
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"lib": [],
|
||||
"types": ["node", "jsdom"]
|
||||
}
|
||||
}
|
@ -31,4 +31,7 @@ export default defineConfig({
|
||||
]
|
||||
},
|
||||
*/
|
||||
server: {
|
||||
port: 3000,
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user