mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 05:55:14 +00:00
don't make MkAbuseReport harder to see if resolved
This commit is contained in:
parent
a32a8e0404
commit
cbecaad5ae
1 changed files with 1 additions and 6 deletions
|
@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
-->
|
||||
|
||||
<template>
|
||||
<div class="bcekxzvu _margin _panel" :class="{ resolved: resolved }">
|
||||
<div class="bcekxzvu _margin _panel">
|
||||
<div class="target">
|
||||
<MkA v-user-preview="report.targetUserId" class="info" :to="`/admin/user/${report.targetUserId}`" :behavior="'window'">
|
||||
<MkAvatar class="avatar" :user="report.targetUser" indicator/>
|
||||
|
@ -70,7 +70,6 @@ const emit = defineEmits<{
|
|||
}>();
|
||||
|
||||
const forward = ref(props.report.forwarded);
|
||||
const resolved = ref(props.report.resolved);
|
||||
|
||||
function resolve() {
|
||||
os.apiWithDialog('admin/resolve-abuse-user-report', {
|
||||
|
@ -88,10 +87,6 @@ function resolve() {
|
|||
flex-direction: column;
|
||||
transition: .1s;
|
||||
|
||||
&.resolved:not(:hover,:focus) {
|
||||
opacity: 50%;
|
||||
}
|
||||
|
||||
> .target {
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
|
|
Loading…
Reference in a new issue