Add Icinga2 API server
This commit is contained in:
parent
93d4e485ae
commit
ffebd4d6a0
6
prefs.js
6
prefs.js
@ -277,8 +277,10 @@ function createPrefWidgets ( noteBook, type, isActive )
|
||||
}
|
||||
else if ( prefEntry.key == 'type' )
|
||||
{
|
||||
[ 'Icinga', 'Icinga2' ].forEach((item) => {
|
||||
this.prefWidgets[prefEntry.key].append_text(item);
|
||||
[ { name: 'Icinga', value: 'Icinga server' },
|
||||
{ name: 'Icinga2', value: 'Icinga2 server (without API)' },
|
||||
{ name: 'Icinga2API', value: 'Icinga2 server (with API)' } ].forEach((item) => {
|
||||
this.prefWidgets[prefEntry.key].insert ( -1, item.name, item.value );
|
||||
} );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user