Skip to content

Commit 57e8ab8

Browse files
committed
Add .value to ref reference
1 parent 0a490dc commit 57e8ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PermissionsDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export default defineComponent({
241241
const workspacePermissionsEditable = computed(() => store.getters.permissionLevel >= RoleLevel.maintainer);
242242
243243
const route = useRoute();
244-
const permDialog = ref(workspacePermissionsEditable && route.query.permissions === 'true');
244+
const permDialog = ref(workspacePermissionsEditable.value && route.query.permissions === 'true');
245245
const mutablePermissions: Ref<WorkspacePermissionsSpec | null> = ref(null);
246246
const userSearchString: Ref<string | null> = ref(null);
247247
const userSearchResults: Ref<UserSearchResult[]> = ref([]);

0 commit comments

Comments
 (0)