mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 08:15:12 +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>
|
<template>
|
||||||
<div class="bcekxzvu _margin _panel" :class="{ resolved: resolved }">
|
<div class="bcekxzvu _margin _panel">
|
||||||
<div class="target">
|
<div class="target">
|
||||||
<MkA v-user-preview="report.targetUserId" class="info" :to="`/admin/user/${report.targetUserId}`" :behavior="'window'">
|
<MkA v-user-preview="report.targetUserId" class="info" :to="`/admin/user/${report.targetUserId}`" :behavior="'window'">
|
||||||
<MkAvatar class="avatar" :user="report.targetUser" indicator/>
|
<MkAvatar class="avatar" :user="report.targetUser" indicator/>
|
||||||
|
@ -70,7 +70,6 @@ const emit = defineEmits<{
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const forward = ref(props.report.forwarded);
|
const forward = ref(props.report.forwarded);
|
||||||
const resolved = ref(props.report.resolved);
|
|
||||||
|
|
||||||
function resolve() {
|
function resolve() {
|
||||||
os.apiWithDialog('admin/resolve-abuse-user-report', {
|
os.apiWithDialog('admin/resolve-abuse-user-report', {
|
||||||
|
@ -88,10 +87,6 @@ function resolve() {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
transition: .1s;
|
transition: .1s;
|
||||||
|
|
||||||
&.resolved:not(:hover,:focus) {
|
|
||||||
opacity: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
> .target {
|
> .target {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
Loading…
Reference in a new issue