Clarify local provider update status
This commit is contained in:
@@ -1101,6 +1101,7 @@ CONFIG_HTML = r"""<!doctype html>
|
||||
|
||||
function providerUpdateBadgeClass(status) {
|
||||
if (status === "up_to_date") return "ok";
|
||||
if (status === "local_changes") return "ok";
|
||||
if (status === "updates_available") return "warn";
|
||||
if (status === "error") return "bad";
|
||||
return "";
|
||||
@@ -1117,6 +1118,7 @@ CONFIG_HTML = r"""<!doctype html>
|
||||
|
||||
const files = [
|
||||
...(data.updated_files || []).map((item) => item.path),
|
||||
...(data.locally_modified_files || []).map((item) => `${item.path} local ${item.local_version || "modified"}`),
|
||||
...(data.missing_upstream_files || [])
|
||||
];
|
||||
if (!files.length && status !== "checking") {
|
||||
|
||||
Reference in New Issue
Block a user