We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a76488 commit 1964ba5Copy full SHA for 1964ba5
webapp/src/components/FileList.vue
@@ -92,8 +92,9 @@ export default {
92
methods: {
93
formatDistance,
94
deleteFile(event, file_id) {
95
- deleteFileFromSample(this.item_id, file_id);
96
- return false;
+ if (window.confirm("Are you sure you want to unlink this file from this entry?")) {
+ deleteFileFromSample(this.item_id, file_id);
97
+ }
98
},
99
setFileSelectModalOpen() {
100
this.$store.commit("setFileSelectModalOpenStatus", true);
@@ -130,6 +131,11 @@ export default {
130
131
padding: 0.9rem 1.25rem;
132
}
133
134
+.delete-file-button:hover {
135
+ color: #dc3545;
136
+ cursor: pointer;
137
+}
138
+
139
#uppy-trigger {
140
scroll-anchor: auto;
141
width: 8rem;
0 commit comments