disallow reporting/banning oneself
This commit is contained in:
parent
70e4b9e214
commit
1e0d4c6935
|
@ -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"/>
|
||||||
|
|
Reference in New Issue