Grid.removeItem issue
This commit is contained in:
@ -45,8 +45,14 @@ export function formatUrl(msg) {
|
||||
}
|
||||
}
|
||||
|
||||
let path;
|
||||
if (typeof consts !== 'undefined') {
|
||||
path = consts.path;
|
||||
} else if (typeof _network !== 'undefined') {
|
||||
path = _network.root;
|
||||
}
|
||||
for (let r of rs) {
|
||||
msg = msg.replaceAll(r, '<a target="_blank" href="' + r + '"><svg><use xlink:href="' + ((typeof consts !== 'undefined' && consts.path) || '') + 'fonts/fa-regular.svg#link"></use></svg></a>');
|
||||
msg = msg.replaceAll(r, `<a target="_blank" href="${r}"><svg><use xlink:href="${path || ''}fonts/fa-regular.svg#link"></use></svg></a>`);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user