|
@@ -65,7 +65,7 @@
|
|
const hasAdmin = computed(() => projectInfo.value?.userId !== 'xCi4xUL6uur0h7fVI--NeA')
|
|
const hasAdmin = computed(() => projectInfo.value?.userId !== 'xCi4xUL6uur0h7fVI--NeA')
|
|
const userStore = useUserStore()
|
|
const userStore = useUserStore()
|
|
const hasPermission = computed(
|
|
const hasPermission = computed(
|
|
- () => !!userStore.getUserInfo.isAdmin || projectInfo.value?.staffIdEncrypted === userStore.getUserInfo.id
|
|
|
|
|
|
+ () => !!userStore.getUserInfo.isAdmin || projectInfo.value?.staffIdEncrypted === userStore.getUserInfo.staffId
|
|
)
|
|
)
|
|
const route = useRoute()
|
|
const route = useRoute()
|
|
async function fetchProjectInfo(id: string) {
|
|
async function fetchProjectInfo(id: string) {
|