mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-22 09:56:23 +01:00
Add toast for element already exists
This commit is contained in:
parent
1b4f4aac40
commit
0cd02806bb
@ -67,7 +67,9 @@ export default defineComponent({
|
||||
return
|
||||
}
|
||||
|
||||
if (!this.tagList.includes(trimmedText)) {
|
||||
if (this.tagList.includes(trimmedText)) {
|
||||
showToast(this.$t('Tag already exists', { tagName: trimmedText }))
|
||||
} else {
|
||||
const newList = this.tagList.slice(0)
|
||||
newList.push(trimmedText)
|
||||
this.$emit('change', newList)
|
||||
|
@ -936,6 +936,7 @@ Screenshot Error: Screenshot failed. {error}
|
||||
Channel Hidden: '{channel} added to channel filter'
|
||||
Channel Unhidden: '{channel} removed from channel filter'
|
||||
Trimmed input must be at least N characters long: Trimmed input must be at least 1 character long | Trimmed input must be at least {length} characters long
|
||||
Tag already exists: '"{tagName}" tag already exists'
|
||||
|
||||
Hashtag:
|
||||
Hashtag: Hashtag
|
||||
|
Loading…
Reference in New Issue
Block a user