We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa7c75 commit bc63562Copy full SHA for bc63562
web_src/js/features/comp/LabelEdit.ts
@@ -47,8 +47,8 @@ export function initCompLabelEdit(pageSelector: string) {
47
elModal.toggleAttribute('data-need-warn-exclusive', !elExclusiveInput.checked && numIssues > 0);
48
elModal.querySelector('.header').textContent = isEdit ? elModal.getAttribute('data-text-edit-label') : elModal.getAttribute('data-text-new-label');
49
50
- const repoLink = elModal.getAttribute('data-current-page-link');
51
- form.action = isEdit ? `${repoLink}/edit` : `${repoLink}/new`;
+ const curPageLink = elModal.getAttribute('data-current-page-link');
+ form.action = isEdit ? `${curPageLink}/edit` : `${curPageLink}/new`;
52
toggleElem(elIsArchivedField, isEdit);
53
syncModalUi();
54
fomanticQuery(elModal).modal({
0 commit comments