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 1e543a1 commit 7aa9db1Copy full SHA for 7aa9db1
web_src/js/features/repo-settings-branches.ts
@@ -14,7 +14,7 @@ export function initRepoBranchesSettings() {
14
onEnd: () => {
15
(async () => {
16
const itemElems = queryElemChildren(protectedBranchesList, '.item[data-id]');
17
- const itemIds = Array.from(itemElems, (el) => el.getAttribute('data-id'));
+ const itemIds = Array.from(itemElems, (el) => parseInt(el.getAttribute('data-id')));
18
19
try {
20
await POST(protectedBranchesList.getAttribute('data-update-priority-url'), {
0 commit comments