public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Lukas Wagner <l.wagner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] www: backup job detail: style fixups using proxmox-biome
Date: Mon, 14 Jul 2025 10:45:53 +0200	[thread overview]
Message-ID: <20250714084553.57147-1-l.wagner@proxmox.com> (raw)

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---

Notes:
    Mea culpa, I did not know that 'make check' does not check for
    formatting issues.

 www/manager6/dc/BackupJobDetail.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/manager6/dc/BackupJobDetail.js b/www/manager6/dc/BackupJobDetail.js
index 464bb558..67ec5273 100644
--- a/www/manager6/dc/BackupJobDetail.js
+++ b/www/manager6/dc/BackupJobDetail.js
@@ -215,7 +215,7 @@ Ext.define('PVE.dc.BackupInfo', {
                 let mailto = record?.mailto;
                 let mailnotification = record?.mailnotification ?? 'always';
 
-                if ((value === 'auto' && mailto === undefined) || (value === 'notification-system')) {
+                if ((value === 'auto' && mailto === undefined) || value === 'notification-system') {
                     return gettext('Use global notification settings');
                 } else if (mailnotification === 'always') {
                     return gettext('Always send email');
@@ -395,7 +395,9 @@ Ext.define('PVE.dc.BackupInfo', {
         let notificationMode = values['notification-mode'] ?? 'auto';
         let mailto = values.mailto;
 
-        let hideRecipients = (notificationMode === 'auto' && mailto === undefined) || (notificationMode === 'notification-system');
+        let hideRecipients =
+            (notificationMode === 'auto' && mailto === undefined) ||
+            notificationMode === 'notification-system';
         vm.set('hideRecipients', hideRecipients);
 
         // selection Mode depends on the presence/absence of several keys
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2025-07-14  8:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-14  8:45 Lukas Wagner [this message]
2025-07-14  9:48 ` Gabriel Goller
2025-07-15 19:52 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250714084553.57147-1-l.wagner@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal