From e99c1bfc893dd5a803a0cfc8c504e9835b216534 Mon Sep 17 00:00:00 2001 From: Bofh Date: Thu, 15 Dec 2022 00:05:12 +0100 Subject: [PATCH] Little bug fix + Default link for "Manage" action on filter-users --- js/templates/instance/filter-users.html | 2 +- views/instance.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/templates/instance/filter-users.html b/js/templates/instance/filter-users.html index 410f3bb..da034de 100644 --- a/js/templates/instance/filter-users.html +++ b/js/templates/instance/filter-users.html @@ -214,7 +214,7 @@ diff --git a/views/instance.php b/views/instance.php index 0c5cb1f..5467c32 100644 --- a/views/instance.php +++ b/views/instance.php @@ -332,6 +332,7 @@ window.view.instance = { tpl = tpl.replaceAll('{mastodon:fields}', _fields); } else tpl = tpl.replaceAll('{mastodon:fields}', ''); } + tpl = tpl.replaceAll('{accountAdminLink}', 'javascript:void(0)'); tpl = tpl.replaceAll('{note}', it.note.trim() === '' ? '<empty>' : window.view.instance.html_add_search_spans( html2text(it.note), atob(filter.profile)));