From c407e1689296ac0c968d84a635a23756cf1f0053 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 11 Oct 2017 11:11:18 +0200 Subject: [PATCH] QuarantineView.js - do not display @quarantine realm --- js/QuarantineView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/QuarantineView.js b/js/QuarantineView.js index 83ae512..521b0bb 100644 --- a/js/QuarantineView.js +++ b/js/QuarantineView.js @@ -148,7 +148,8 @@ Ext.define('PMG.QuarantineView', { var me = this; // load username - me.lookupReference('usernameinfo').update({username:Proxmox.UserName}); + var username = Proxmox.UserName.replace(/\@quarantine$/, ''); + me.lookupReference('usernameinfo').update({username: username}); // show login on requestexception // fixme: what about other errors -- 2.39.2