Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: delete user in admin section (undefined & not refreshed) #315

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions apps/lp/app/assets/style/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,10 @@ html, body, #__nuxt, #__layout {
}

@theme {
--font-family-newsreader: 'Newsreader', serif;
--font-family-inter: 'Inter', sans-serif;
--font-family-geist: 'Geist', sans-serif;
--font-family-geist-mono: 'GeistMono', sans-serif;
}

.font-geist-mono {
font-family: 'GeistMono', sans-serif;
}

.font-geist {
font-family: 'Geist', sans-serif;
}

.font-newsreader {
font-family: 'Newsreader', serif;
--font-newsreader: 'Newsreader', serif;
--font-inter: 'Inter', sans-serif;
--font-geist: 'Geist', sans-serif;
--font-geist-mono: 'Geist Mono', sans-serif;
}

.main-gradient {
Expand Down
20 changes: 4 additions & 16 deletions apps/shelve/app/assets/style/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,10 @@ html, body, #__nuxt, #__layout {
}

@theme {
--font-family-newsreader: 'Newsreader', serif;
--font-family-inter: 'Inter', sans-serif;
--font-family-geist: 'Geist', sans-serif;
--font-family-geist-mono: 'GeistMono', sans-serif;
}

.font-geist-mono {
font-family: 'GeistMono', sans-serif;
}

.font-geist {
font-family: 'Geist', sans-serif;
}

.font-newsreader {
font-family: 'Newsreader', serif;
--font-newsreader: 'Newsreader', serif;
--font-inter: 'Inter', sans-serif;
--font-geist: 'Geist', sans-serif;
--font-geist-mono: 'Geist Mono', sans-serif;
}

.main-gradient {
Expand Down
2 changes: 1 addition & 1 deletion apps/shelve/app/pages/admin/users.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const items = (row: User) => [
<UBadge :label="row.original.role.toUpperCase()" :color="row.original.role === Role.ADMIN ? 'primary' : 'neutral'" variant="subtle" />
</template>
<template #actions-cell="{ row }">
<UDropdownMenu :items="items(row)">
<UDropdownMenu :items="items(row.original)">
<UButton color="neutral" variant="ghost" icon="heroicons:ellipsis-horizontal-20-solid" />
</UDropdownMenu>
</template>
Expand Down
2 changes: 1 addition & 1 deletion apps/shelve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@iconify-json/simple-icons": "^1.2.11",
"@nuxt/devtools": "^1.6.0",
"@nuxt/image": "^1.8.1",
"@nuxt/ui": "https://pkg.pr.new/@nuxt/ui@503f701",
"@nuxt/ui": "https://pkg.pr.new/@nuxt/ui@e55c0e2",
"@prisma/client": "^5.22.0",
"@shelve/cli": "*",
"@shelve/crypto": "*",
Expand Down
Binary file modified bun.lockb
Binary file not shown.