diff --git a/plugins/view-resources/src/components/ClassRefPresenter.svelte b/plugins/view-resources/src/components/ClassRefPresenter.svelte index 54721d55a8..2f1c186edd 100644 --- a/plugins/view-resources/src/components/ClassRefPresenter.svelte +++ b/plugins/view-resources/src/components/ClassRefPresenter.svelte @@ -20,7 +20,9 @@ export let value: Ref> const client = getClient() - const _class = client.getModel().getObject(value) + const _class = value !== undefined ? client.getModel().getObject(value) : undefined -