Remove read access remaining from old logic (#6)

This commit is contained in:
Oğuzhan Koral
2025-05-15 16:05:05 +03:00
committed by GitHub
parent fe77ede49e
commit 82c95aab58
+1 -5
View File
@@ -19,7 +19,7 @@
color="subtle"
class="block text-foreground-2 hover:text-foreground overflow-hidden max-w-full !justify-start"
full-width
:disabled="!!modelCard.progress || noReadAccess"
:disabled="!!modelCard.progress || !canEdit"
@click.stop="openVersionsDialog = true"
>
<span>
@@ -269,10 +269,6 @@ const latestVersionCreatedAt = computed(() => {
return dayjs(props.modelCard.latestVersionCreatedAt).from(dayjs())
})
const noReadAccess = computed(() => {
return props.canEdit
})
onMounted(() => {
refetch()
})