This commit is contained in:
sajjad
2023-09-11 03:06:11 -07:00
parent d118b182a4
commit 2b39228ea1
20 changed files with 672 additions and 16283 deletions
+3 -3
View File
@@ -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>