fix: admin/plugins: click on link was opening a dialog
Massimo Melina committed
May 18, 2024 at 18:00 UTC
143a8274a02d5830f594637115054e797f7a35a7
1 file changed
+1
-1
admin/src/InstalledPlugins.ts
+1
-1
@@ -144,7 +144,7 @@ export function renderName({ row, value }: any) {
144
repo?.includes('//') ? h(Link, { href: repo, target: 'plugin' }, value)
145
: !repo ? value
146
: with_(repo?.split('/'), arr => h(Fragment, {},
147
- h(Link, { href: 'https://github.com/' + repo, target: 'plugin' }, arr[1].replace(/hfs-/, '')),
147
+ h(Link, { href: 'https://github.com/' + repo, target: 'plugin', onClick(ev) { ev.stopPropagation() } }, arr[1].replace(/hfs-/, '')),
148
'\xa0by ', arr[0]
149
))
150
)