Fix duplicate "Upload icon Select file" on collections (#4069)
* Fix duplicate "Upload icon Select file" on collections  * fix lint
This commit is contained in:
parent
1df6e29aa1
commit
7dffb352d5
@ -182,9 +182,6 @@
|
|||||||
"collection.button.unfollow-project": {
|
"collection.button.unfollow-project": {
|
||||||
"message": "Unfollow project"
|
"message": "Unfollow project"
|
||||||
},
|
},
|
||||||
"collection.button.upload-icon": {
|
|
||||||
"message": "Upload icon"
|
|
||||||
},
|
|
||||||
"collection.delete-modal.description": {
|
"collection.delete-modal.description": {
|
||||||
"message": "This will remove this collection forever. This action cannot be undone."
|
"message": "This will remove this collection forever. This action cannot be undone."
|
||||||
},
|
},
|
||||||
|
|||||||
@ -40,7 +40,6 @@
|
|||||||
@change="showPreviewImage"
|
@change="showPreviewImage"
|
||||||
>
|
>
|
||||||
<UploadIcon aria-hidden="true" />
|
<UploadIcon aria-hidden="true" />
|
||||||
{{ formatMessage(messages.uploadIconButton) }}
|
|
||||||
</FileInput>
|
</FileInput>
|
||||||
<Button
|
<Button
|
||||||
v-if="!deletedIcon && (previewImage || collection.icon_url)"
|
v-if="!deletedIcon && (previewImage || collection.icon_url)"
|
||||||
@ -479,10 +478,6 @@ const messages = defineMessages({
|
|||||||
id: "collection.label.updated-at",
|
id: "collection.label.updated-at",
|
||||||
defaultMessage: "Updated {ago}",
|
defaultMessage: "Updated {ago}",
|
||||||
},
|
},
|
||||||
uploadIconButton: {
|
|
||||||
id: "collection.button.upload-icon",
|
|
||||||
defaultMessage: "Upload icon",
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const data = useNuxtApp();
|
const data = useNuxtApp();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user