Skip to content

Commit 12e3e0b

Browse files
author
jackHay22
committed
fixes
1 parent a5035ea commit 12e3e0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web_src/js/features/repo-release.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {hideElem, showElem, type DOMEvent} from '../utils/dom.ts';
2-
import {fomanticQuery} from "../modules/fomantic/base";
2+
import {fomanticQuery} from '../modules/fomantic/base.ts';
33

44
export function initRepoRelease() {
55
document.addEventListener('click', (e: DOMEvent<MouseEvent>) => {
@@ -25,7 +25,6 @@ function initTagNameEditor() {
2525
const tagWarning = document.querySelector('#tag-warning');
2626
const tagWarningDetailLinks = Array.from(document.getElementsByClassName('tag-warning-detail'));
2727
const existingTags = JSON.parse(el.getAttribute('data-existing-tags'));
28-
if (!Array.isArray(existingTags)) return;
2928

3029
const defaultTagHelperText = el.getAttribute('data-tag-helper');
3130
const newTagHelperText = el.getAttribute('data-tag-helper-new');

0 commit comments

Comments
 (0)