Fix formatting and remove unused code
This commit is contained in:
parent
43c288046a
commit
3920ce03d2
|
@ -6,4 +6,3 @@ env
|
|||
node_modules
|
||||
/src/ui/*.txt
|
||||
.mypy_cache
|
||||
src/ui/static
|
|
@ -50,7 +50,7 @@ repos:
|
|||
args: ["--max-line-length=250", "--ignore=E266,E402,E722,W503"]
|
||||
|
||||
- repo: https://github.com/dosisod/refurb
|
||||
rev: 63209fc1735ef2497dd9c00774ba72a23bb1cdf9 # frozen: v1.23.0
|
||||
rev: a25b5d6087bba1509f96654c583efcd7796452cd # frozen: v1.24.0
|
||||
hooks:
|
||||
- id: refurb
|
||||
name: Refurb Python Refactoring Tool
|
||||
|
@ -67,7 +67,7 @@ repos:
|
|||
types: [text]
|
||||
|
||||
- repo: https://github.com/gitleaks/gitleaks
|
||||
rev: b813e6fe08b87541cb77296359ba1b7a50a00c98 # frozen: v8.18.0
|
||||
rev: e815c559e3ac76227e8e7463cf3a6598b715687b # frozen: v8.18.1
|
||||
hooks:
|
||||
- id: gitleaks
|
||||
|
||||
|
|
|
@ -30,4 +30,4 @@ location /setup/check {
|
|||
}
|
||||
}
|
||||
|
||||
{% endif +%}
|
||||
{% endif +%}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -222,9 +222,8 @@ class ServiceModal {
|
|||
|
||||
if (action === "delete") {
|
||||
this.showDeleteForm();
|
||||
formEl.querySelector(
|
||||
`[data-services-modal-text]`,
|
||||
).textContent = `Are you sure you want to delete ${serviceName} ?`;
|
||||
formEl.querySelector(`[data-services-modal-text]`).textContent =
|
||||
`Are you sure you want to delete ${serviceName} ?`;
|
||||
const nameInp = formEl.querySelector(`input[name="SERVER_NAME"]`);
|
||||
nameInp.setAttribute("value", serviceName);
|
||||
nameInp.value = serviceName;
|
||||
|
|
Loading…
Reference in New Issue