Fix package update (bad UI indentation) (#1778)

This commit is contained in:
Tim Wilkinson 2024-12-24 13:15:41 -08:00 committed by GitHub
parent 8f292117aa
commit ee3380b4f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View File

@ -431,7 +431,8 @@ const po = getPackageOptions();
});
htmx.on("#dialog-done", "click", _ => {
htmx.ajax("GET", "/a/u-packages", {
swap: "none"
target: "#packages",
swap: "outerHTML"
});
});
})();

View File

@ -1,4 +1,4 @@
<{%
{%
/*
* Part of AREDN® -- Used for creating Amateur Radio Emergency Data Networks
* Copyright (C) 2024 Tim Wilkinson
@ -32,6 +32,4 @@
* version
*/
%}
<div id="packages" hx-swap-oob="innerHTML">
{{_R("packages", "oob")}}
</div>
{{_R("packages")}}