all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] www: backup job detail: style fixups using proxmox-biome
@ 2025-07-14  8:45 Lukas Wagner
  2025-07-14  9:48 ` Gabriel Goller
  2025-07-15 19:52 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Lukas Wagner @ 2025-07-14  8:45 UTC (permalink / raw)
  To: pve-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pve-devel] [PATCH manager] www: backup job detail: style fixups using proxmox-biome
  2025-07-14  8:45 [pve-devel] [PATCH manager] www: backup job detail: style fixups using proxmox-biome Lukas Wagner
@ 2025-07-14  9:48 ` Gabriel Goller
  2025-07-15 19:52 ` [pve-devel] applied: " Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Gabriel Goller @ 2025-07-14  9:48 UTC (permalink / raw)
  To: Lukas Wagner; +Cc: pve-devel

On 14.07.2025 10:45, Lukas Wagner wrote:
>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
>-- 

Looks good to me:

Reviewed-by: Gabriel Goller <g.goller@proxmox.com>

Sorry for not noticing earlier.


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] applied: [PATCH manager] www: backup job detail: style fixups using proxmox-biome
  2025-07-14  8:45 [pve-devel] [PATCH manager] www: backup job detail: style fixups using proxmox-biome Lukas Wagner
  2025-07-14  9:48 ` Gabriel Goller
@ 2025-07-15 19:52 ` Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2025-07-15 19:52 UTC (permalink / raw)
  To: pve-devel, Lukas Wagner

On Mon, 14 Jul 2025 10:45:53 +0200, Lukas Wagner wrote:
> 


Applied, thanks!

[1/1] www: backup job detail: style fixups using proxmox-biome
      commit: 9d408183b4c2bbebd0a24f8971b2663d54cec11e


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-15 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-14  8:45 [pve-devel] [PATCH manager] www: backup job detail: style fixups using proxmox-biome Lukas Wagner
2025-07-14  9:48 ` Gabriel Goller
2025-07-15 19:52 ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal