mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 02:51:08 +03:30
fix
This commit is contained in:
@@ -137,14 +137,14 @@
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-btn
|
||||
v-bind="attrs" v-on="on"
|
||||
:color="item.status == 'Active' ? 'red' : 'green'"
|
||||
:color="item.status == 'Active' ? 'green' : 'red'"
|
||||
@click="changeStatus(item.id)"
|
||||
class="mr-2 WM-ActionButton"
|
||||
v-if="$hasRole('Admin|Supervisor')"
|
||||
>
|
||||
<template v-if="item.status == 'Active'">
|
||||
<v-icon class="white--text mr-2 caption">fa fa-pause</v-icon>
|
||||
<span v-if="item.status == 'Active'">Susspended</span>
|
||||
<span v-if="item.status == 'Active'">Suspended</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
<v-icon class="white--text mr-2 caption">fa fa-pause</v-icon>
|
||||
@@ -152,7 +152,7 @@
|
||||
</template>
|
||||
</v-btn>
|
||||
</template>
|
||||
<span v-if="item.status == 'Active'">Susspended</span>
|
||||
<span v-if="item.status == 'Active'">Suspended</span>
|
||||
<span v-else>Active</span>
|
||||
</v-tooltip>
|
||||
<v-tooltip bottom open-on-hover>
|
||||
|
||||
Reference in New Issue
Block a user