client: fix dynamic nav links

This commit is contained in:
Starbeamrainbowlabs 2022-03-11 01:20:51 +00:00
parent 21d193a424
commit 43e8c2583d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -40,8 +40,11 @@ class GlobalUI {
const emel_icon = forkawesome_emel(icondef); const emel_icon = forkawesome_emel(icondef);
console.log(`emel_icon`, emel_icon); console.log(`emel_icon`, emel_icon);
result.append(this.emel(`li>a[href=#table/?]>${emel_icon}+span{?}`, { result.append(this.emel(`li>a[href="?"]>${emel_icon}+span{?}`, {
placeholders: [ table_name, table_name ] placeholders: [
`#table/${table_name}`,
table_name
]
})); }));
} }