added conditional rendering to checkbox
This commit is contained in:
@@ -426,6 +426,7 @@ const selectAll = () => {
|
||||
<tr>
|
||||
<td>
|
||||
<UCheckbox
|
||||
v-if="renderedFileList.find(i => i.type === 'file')"
|
||||
@change="selectAll"
|
||||
/>
|
||||
</td>
|
||||
@@ -436,6 +437,7 @@ const selectAll = () => {
|
||||
<tr v-for="(entry,index) in renderedFileList">
|
||||
<td>
|
||||
<UCheckbox
|
||||
v-if="entry.type === 'file'"
|
||||
v-model="selectedFiles[entry.id]"
|
||||
/>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user