Tweak UI
This commit is contained in:
@ -124,13 +124,7 @@ export function getUserMenu(user) {
|
||||
action: () => {
|
||||
copyToClipboard(`@${user.username}@${user.host || host}`);
|
||||
}
|
||||
}, ($i && ($i.isAdmin || $i.isModerator)) ? {
|
||||
icon: 'fas fa-info-circle',
|
||||
text: i18n.locale.info,
|
||||
action: () => {
|
||||
os.pageWindow(`/instance/user/${user.id}`);
|
||||
}
|
||||
} : {
|
||||
}, {
|
||||
icon: 'fas fa-info-circle',
|
||||
text: i18n.locale.info,
|
||||
action: () => {
|
||||
|
@ -10,7 +10,7 @@ export async function lookupUser() {
|
||||
if (canceled) return;
|
||||
|
||||
const show = (user) => {
|
||||
os.pageWindow(`/instance/user/${user.id}`);
|
||||
os.pageWindow(`/user-info/${user.id}`);
|
||||
};
|
||||
|
||||
const usernamePromise = os.api('users/show', parseAcct(result));
|
||||
|
Reference in New Issue
Block a user