refactor(change-round): add permission check using attrIsUpdate for change round button

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-04-30 16:07:02 +07:00
parent 9e550fc5bf
commit 598492b61e
2 changed files with 3 additions and 2 deletions

View file

@ -4,8 +4,8 @@ interface DataPost {
lastName: string;
page: number;
pageSize: number;
selectedNodeId: string | null;
selectedNode: string;
selectedNodeId?: string | null;
selectedNode?: string;
}
interface DataOption {

View file

@ -410,6 +410,7 @@ onMounted(() => {
@click="selectAllRows()"
/> -->
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
:disable="selected.length === 0 || isLoadingAll"
:color="selected.length === 0 ? 'grey' : 'info'"
dense