🤖 format everything with pre-commit by stirlingbot (#4144)

Auto-generated by [create-pull-request][1] with **stirlingbot**

[1]: https://github.com/peter-evans/create-pull-request

Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com>
Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
This commit is contained in:
stirlingbot[bot] 2025-08-08 15:36:58 +01:00 committed by GitHub
parent 774b500159
commit e6a77e83da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
.github/labels.yml vendored
View File

@ -182,4 +182,4 @@
description: "Pull request has been deployed to a test environment" description: "Pull request has been deployed to a test environment"
- name: "codex" - name: "codex"
color: "ededed" color: "ededed"
description: "chatgpt AI generated code" description: "chatgpt AI generated code"

View File

@ -321,7 +321,7 @@ async function showUpdateModal() {
const modalBody = document.getElementById('updateModalBody'); const modalBody = document.getElementById('updateModalBody');
if (fullUpdateInfo && fullUpdateInfo.new_versions) { if (fullUpdateInfo && fullUpdateInfo.new_versions) {
const storedMode = localStorage.getItem("dark-mode"); const storedMode = localStorage.getItem("dark-mode");
const isDarkMode = storedMode === "on" || const isDarkMode = storedMode === "on" ||
(storedMode === null && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches); (storedMode === null && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches);
const darkClasses = isDarkMode ? { const darkClasses = isDarkMode ? {
accordionItem: 'bg-dark border-secondary text-light', accordionItem: 'bg-dark border-secondary text-light',