disallow reporting/banning oneself

This commit is contained in:
Avris 2021-11-23 14:48:14 +01:00
parent 70e4b9e214
commit 1e0d4c6935
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div v-if="config.profile.editorEnabled"> <div v-if="config.profile.editorEnabled && $user() && $user().username !== user.username">
<section v-if="$user()"> <section v-if="$user()">
<a v-if="!showReportForm" href="#" @click.prevent="showReportForm = true" class="small"> <a v-if="!showReportForm" href="#" @click.prevent="showReportForm = true" class="small">
<Icon v="spider"/> <Icon v="spider"/>