update verify access for test result

This commit is contained in:
Fateme
2020-07-23 23:05:18 +04:30
parent 73d0169ca3
commit 4ce1a6a379
6 changed files with 15 additions and 18 deletions
+2 -2
View File
@@ -206,7 +206,7 @@
<template v-slot:activator="{ on, attrs }">
<!-- v-if="$hasRole('Admin') || item.user_id == $store.state.user.id" -->
<router-link class="LinkBtn"
v-if="$hasRole('Admin')"
v-if="$hasRole('Admin') || (item.user_id == $store.state.user.id && item.verified == 'None')"
:to="{name: 'EditTestResult', params: {testResult: item.id}}"
>
@@ -226,7 +226,7 @@
color="pink"
class="WM-ActionButton"
@click="remove(item.id)"
v-if="$hasRole('Admin')"
v-if="$hasRole('Admin') || (item.user_id == $store.state.user.id && item.verified == 'None')"
v-bind="attrs"
v-on="on"
>