Skip to content

Commit acdd829

Browse files
committed
fix: prevent ACL rejection from blocking workspace
1 parent 7bfe58a commit acdd829

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎ui/components/Workspace/sessionPane.vue‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ const setupPane = computed(() => {
8484
const activeAclPaneId = computed(() => {
8585
if (!activePaneId.value || !hasScopeGroup(activePaneId.value)) return "";
8686
const pane = props.tab.panes.find((item) => item.id === activePaneId.value);
87-
return pane?.connectionProgress ? "" : activePaneId.value;
87+
if (!pane || pane.connectionProgress) return "";
88+
return activePaneId.value;
8889
});
8990
const showPaneHeaders = computed(() => props.tab.panes.length > 1);
9091
const inactivePaneOverlayClass = computed(() => (colorMode.value === "dark" ? "bg-white/4" : "bg-black/3"));

0 commit comments

Comments
 (0)