Skip to content

Commit e737106

Browse files
committed
Handle interval clicks
1 parent 7f87a28 commit e737106

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pages/columns/@column/column-inspector/modal-panel.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ export function ModalUnitPanel(props) {
6464
if(unit?.environ_id) {
6565
window.open('/lex/environments/' + unit.environ_id, '_blank');
6666
}
67+
68+
if(e?.data?.int_id) { // fix when new we components release is out
69+
window.open('/lex/intervals/' + e.data.int_id, '_blank');
70+
}
71+
72+
/* // implement when new web components release is out
73+
if(unit?.strat_name_id) {
74+
window.open('/lex/strat-names/' + unit.strat_name_id, '_blank');
75+
}
76+
*/
6777
},
6878
});
6979
}

0 commit comments

Comments
 (0)