mirror of
https://github.com/directus/directus.git
synced 2026-01-28 06:58:02 -05:00
Fix previews in header section (#693)
This commit is contained in:
@@ -288,7 +288,7 @@ export default defineComponent({
|
|||||||
const avatarSrc = ref<string | null>(null);
|
const avatarSrc = ref<string | null>(null);
|
||||||
const roleName = ref<string | null>(null);
|
const roleName = ref<string | null>(null);
|
||||||
|
|
||||||
watch(() => props.primaryKey, getUserPreviewData);
|
watch(() => props.primaryKey, getUserPreviewData, { immediate: true });
|
||||||
|
|
||||||
return { loading, error, avatarSrc, roleName };
|
return { loading, error, avatarSrc, roleName };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user