Compare commits

...

1 Commits

Author SHA1 Message Date
oguzhankoral 547e2e2036 Remove read access remaining from old logic 2025-05-15 15:46:16 +03:00
+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()
})