mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Merge pull request #1827 from PR0M3TH3AN/fix-video-modal-tags-prefix-1177131384092798903
fix(VideoModal): ensure normalized tags retain hash prefix
This commit is contained in:
1 file changed
+1
-1
@@ -3244,7 +3244,7 @@ export class VideoModal {
|
||||
|
||||
seen.add(key);
|
||||
|
||||
const display = trimmed.startsWith("#") ? trimmed.slice(1) : trimmed;
|
||||
const display = trimmed.startsWith("#") ? trimmed : `#${trimmed}`;
|
||||
normalized.push(display);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user