This commit is contained in:
Benjamin Drieu 2021-12-01 16:22:16 +01:00
parent 489a59b31f
commit 5260757d21

View File

@ -278,8 +278,8 @@ function createPrefWidgets ( noteBook, type, isActive )
else if ( prefEntry.key == 'type' ) else if ( prefEntry.key == 'type' )
{ {
[ { name: 'Icinga', value: 'Icinga server' }, [ { name: 'Icinga', value: 'Icinga server' },
{ name: 'Icinga2', value: 'Icinga2 server (without API)' }, { name: 'Icinga2', value: 'Icinga2 server (using Icingaweb2)' },
{ name: 'Icinga2API', value: 'Icinga2 server (with API)' } ].forEach((item) => { { name: 'Icinga2API', value: 'Icinga2 server (using API)' } ].forEach((item) => {
this.prefWidgets[prefEntry.key].insert ( -1, item.name, item.value ); this.prefWidgets[prefEntry.key].insert ( -1, item.name, item.value );
} ); } );
} }