mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-05 17:13:45 +01:00
Viewer: open the agent skill screen from a #skill link
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
7c03b779c9
commit
c24871b724
1 file changed
+5
@@ -101,6 +101,11 @@ export default function ViewerDashboard() {
|
||||
const r = localStorage.getItem('sb_right_open');
|
||||
if (l !== null) setLeftOpen(l === 'true');
|
||||
if (r !== null) setRightOpen(r === 'true');
|
||||
// A link ending in #skill opens the agent skill screen directly.
|
||||
if (window.location.hash === '#skill') {
|
||||
setSkillOpen(true);
|
||||
return;
|
||||
}
|
||||
// First visit: say what this page is.
|
||||
if (localStorage.getItem('sb_viewer_about_seen') !== '1') {
|
||||
setAboutOpen(true);
|
||||
|
||||
Reference in new issue
Block a user