Skip to content

Commit

Permalink
Merge pull request #504 from AudiovisualMetadataPlatform/AMP-2929_sav…
Browse files Browse the repository at this point in the history
…eFile

AMP-2929
  • Loading branch information
yingfeng-iu authored Mar 25, 2024
2 parents 08a384c + 77bf046 commit 5cf8857
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/collections/CollectionDetailsItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
d="M165.9,91.8v127.9c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1V91.8c0-5,4.1-9.1,9.1-9.1S165.9,86.8,165.9,91.8z"
></path>
</svg>
Remove file
Remove File
</button>
</li>
</ul>
Expand Down
14 changes: 7 additions & 7 deletions src/components/entity/ItemFiles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@
>
<td>
<input
v-model="file.name"
type="text"
class="w-100 form-control"
:disabled="!accessControl._primaryfile._update"
v-model="file.name"
:disabled="!(file.file && accessControl._primaryfile._create)"
/>
</td>
<td>
<input
v-model="file.originalFilename"
type="text"
class="w-100 form-control"
v-model="file.originalFilename"
:disabled="true"
/>
</td>
<td>
<input
v-model="file.description"
type="text"
class="w-100 form-control"
:disabled="!accessControl._primaryfile._update"
v-model="file.description"
:disabled="!(file.file && accessControl._primaryfile._create)"
/>
</td>
<td>
Expand All @@ -56,7 +56,7 @@
<button
class="btn btn-primary btn float-right"
@click="saveFile(file, index)"
v-if="file.file"
v-if="file.file && accessControl._primaryfile._create"
>
Save
</button>
Expand All @@ -65,7 +65,7 @@
v-if="accessControl._primaryfile._delete"
@click="removeFile(index)"
>
<span v-html="removeIcon" class="pr-1"></span>Remove file
<span v-html="removeIcon" class="pr-1"></span>Remove File
</button>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion src/components/evaluation/GroundTruthModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
class="btn btn-link add-remove float-right mr-1"
@click="removeFile(index)"
>
<span v-html="removeIcon" class="pr-1"></span>Remove file
<span v-html="removeIcon" class="pr-1"></span>Remove File
</button>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions src/components/workflow/SelectWorkflow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
d="M165.9,91.8v127.9c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1V91.8c0-5,4.1-9.1,9.1-9.1S165.9,86.8,165.9,91.8z"
></path>
</svg>
Remove file
Remove File
</button>
</span>
</td>
Expand Down Expand Up @@ -214,7 +214,7 @@
d="M165.9,91.8v127.9c0,5-4.1,9.1-9.1,9.1s-9.1-4.1-9.1-9.1V91.8c0-5,4.1-9.1,9.1-9.1S165.9,86.8,165.9,91.8z"
></path>
</svg>
Remove file
Remove File
</button>
</li>
</ul>
Expand Down

0 comments on commit 5cf8857

Please sign in to comment.