mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-10-04 08:05:56 +00:00
login view: change formula name as per our style guide
use camelCase instead of snake_case Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
04ae05d4f0
commit
b3a7e3e5e4
@ -7,7 +7,7 @@ Ext.define('PMG.LoginView', {
|
|||||||
oidc: false,
|
oidc: false,
|
||||||
},
|
},
|
||||||
formulas: {
|
formulas: {
|
||||||
button_text: function(get) {
|
buttonText: function(get) {
|
||||||
if (get("oidc") === true) {
|
if (get("oidc") === true) {
|
||||||
return gettext("Login (OpenID Connect redirect)");
|
return gettext("Login (OpenID Connect redirect)");
|
||||||
} else {
|
} else {
|
||||||
@ -396,7 +396,7 @@ Ext.define('PMG.LoginView', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
bind: {
|
bind: {
|
||||||
text: "{button_text}",
|
text: "{buttonText}",
|
||||||
},
|
},
|
||||||
reference: 'loginButton',
|
reference: 'loginButton',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user