check if file_security is missing

This commit is contained in:
2024-01-06 15:57:39 +10:00
parent 5d7be1a482
commit b948c42fe2

View File

@@ -17,7 +17,10 @@
:src="getFileIconImagePath(file.name || file.title)" :src="getFileIconImagePath(file.name || file.title)"
class="h-10 text-center" /> class="h-10 text-center" />
<div <div
v-if="file.security_type != ''" v-if="
file.security_type !== undefined &&
file.security_type != ''
"
class="absolute right--1 top-0 h-4 w-4"> class="absolute right--1 top-0 h-4 w-4">
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@@ -33,7 +36,10 @@
file.title || file.name file.title || file.name
}}</a> }}</a>
<p <p
v-if="file.security_type != ''" v-if="
file.security_type !== undefined &&
file.security_type != ''
"
class="text-xs color-gray"> class="text-xs color-gray">
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"