Fix duplicate "Upload icon Select file" on collections (#4069)

* Fix duplicate "Upload icon Select file" on collections

![lol](https://i.imgur.com/NKfvfQD.png)

* fix lint
This commit is contained in:
Emma Alexia 2025-07-27 13:27:02 -04:00 committed by GitHub
parent 1df6e29aa1
commit 7dffb352d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

View File

@ -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."
}, },

View File

@ -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();