Skip to content

Commit

Permalink
exclude umon
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Feb 11, 2025
1 parent aada094 commit 938fbb0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@
},
]
const active = writable(shortcuts[0].title);
const setActive = (shortcut: any) => {
active.set(shortcut.title)
if(shortcut?.payload){
Expand All @@ -199,13 +201,13 @@
onClick(`/relays#${shortcut.hash}`)
}
const active = writable(shortcuts[0].title);
if(window.location.hash){
const hash = window.location.hash.replace('#', '');
const shortcut = shortcuts.find(shortcut => shortcut.hash === hash);
console.log('active shortcut', shortcut)
if(shortcut) active.set(shortcut.title);
if(shortcut) setActive(shortcut);
}
else if($page.url.pathname === "/relays"){
setActive(shortcuts[0]);
Expand Down
5 changes: 4 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ packages:
- "libraries/adapters/**/*"
- "libraries/validators/**/*"
- "libraries/schemata/*"

#exlusions
- '!apps/nocapd'
- '!libraries/nocap-route66'
- '!libraries/nocap-route66'
- '!apps/umon'

0 comments on commit 938fbb0

Please sign in to comment.