diff --git a/src/views/OngoingProject.vue b/src/views/OngoingProject.vue index 1af54d0..3f3ef90 100644 --- a/src/views/OngoingProject.vue +++ b/src/views/OngoingProject.vue @@ -199,7 +199,7 @@ export default { methods: { showCloseProjectButton(row) { - return this.$store.state.staff === null ? false : (this.$store.state.staff.staffId === row.projectCreator) + return this.$store.state.staff === null ? false : (this.$store.state.staff.staffGlobalLevel===1||this.$store.state.staff.staffId === row.projectCreator) }, onRowClick(row, column, event) { if (column.property === "operation")