Implement profile modal #52
2 changed files with 1 additions and 2 deletions
1
app.vue
1
app.vue
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import ContextMenu from '~/components/UserInterface/ContextMenu.vue';
|
import ContextMenu from '~/components/UserInterface/ContextMenu.vue';
|
||||||
import { render } from 'vue';
|
|
||||||
import type { ContextMenuInterface } from './types/interfaces';
|
import type { ContextMenuInterface } from './types/interfaces';
|
||||||
import loadPreferredTheme from '~/utils/loadPreferredTheme';
|
import loadPreferredTheme from '~/utils/loadPreferredTheme';
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ export const useProfile = () => {
|
||||||
if ("username" in profile) {
|
if ("username" in profile) {
|
||||||
return uuidToDate(profile.uuid)
|
return uuidToDate(profile.uuid)
|
||||||
} else {
|
} else {
|
||||||
return uuidToDate(profile.user_uuid)
|
return uuidToDate(profile.user.uuid)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue