Skip to content

Commit 7aa9db1

Browse files
committed
parse
1 parent 1e543a1 commit 7aa9db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-settings-branches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function initRepoBranchesSettings() {
1414
onEnd: () => {
1515
(async () => {
1616
const itemElems = queryElemChildren(protectedBranchesList, '.item[data-id]');
17-
const itemIds = Array.from(itemElems, (el) => el.getAttribute('data-id'));
17+
const itemIds = Array.from(itemElems, (el) => parseInt(el.getAttribute('data-id')));
1818

1919
try {
2020
await POST(protectedBranchesList.getAttribute('data-update-priority-url'), {

0 commit comments

Comments
 (0)