mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-14 01:01:06 +03:30
update verify access for test result
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user