Skip to content

Commit 0a61204

Browse files
authored
Merge pull request #85 from mikesir87/82-fix-images-in-hidden-directory-not-rendering
Don't add Labspace from URL if in highlighted collection
2 parents 7bbebec + d9162f9 commit 0a61204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dd-extension/src/Home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function Home() {
138138

139139
<UrlHandlingModal
140140
onLaunchConfirmation={(title, location) => {
141-
if (labspaces.find((l) => l.location === location) === undefined)
141+
if ([...highlightedLabspaces, ...labspaces].find((l) => l.location === location) === undefined)
142142
addLabspace(title, location);
143143
startLabspace(location);
144144
}}

0 commit comments

Comments
 (0)