Remove read access remaining from old logic (#6)
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user