File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,6 +103,14 @@ export default function RegionPanelBosses({ region }: RegionPanelBossesProps) {
103103 color = "warning"
104104 size = "sm"
105105 variant = "tint"
106+ onClick = { ( ) => {
107+ if ( typeof window !== 'undefined' ) {
108+ window . open (
109+ `https://oldschool.runescape.wiki/w/${ boss . id } _(Echo)` ,
110+ '_blank' ,
111+ ) ;
112+ }
113+ } }
106114 >
107115 Echo
108116 </ Badge >
Original file line number Diff line number Diff line change @@ -196,7 +196,19 @@ function OverviewListItem({
196196 </ Text >
197197 </ div >
198198 { Boolean ( item . echoVariant ) && (
199- < Badge color = "warning" size = "sm" variant = "tint" >
199+ < Badge
200+ color = "warning"
201+ size = "sm"
202+ variant = "tint"
203+ onClick = { ( ) => {
204+ if ( typeof window !== 'undefined' ) {
205+ window . open (
206+ `https://oldschool.runescape.wiki/w/${ item . id } _(Echo)` ,
207+ '_blank' ,
208+ ) ;
209+ }
210+ } }
211+ >
200212 Echo
201213 </ Badge >
202214 ) }
You can’t perform that action at this time.
0 commit comments