From 43e8c2583d122b1963a606d5911d647f251960b2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 11 Mar 2022 01:20:51 +0000 Subject: [PATCH] client: fix dynamic nav links --- src/static/js/ui/GlobalUI.mjs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/static/js/ui/GlobalUI.mjs b/src/static/js/ui/GlobalUI.mjs index c44a00e..3200552 100644 --- a/src/static/js/ui/GlobalUI.mjs +++ b/src/static/js/ui/GlobalUI.mjs @@ -40,8 +40,11 @@ class GlobalUI { const emel_icon = forkawesome_emel(icondef); console.log(`emel_icon`, emel_icon); - result.append(this.emel(`li>a[href=#table/?]>${emel_icon}+span{?}`, { - placeholders: [ table_name, table_name ] + result.append(this.emel(`li>a[href="?"]>${emel_icon}+span{?}`, { + placeholders: [ + `#table/${table_name}`, + table_name + ] })); }