SDA-3964 Adding IV channel for corp auto-update

This commit is contained in:
sbenmoussati 2022-11-16 09:40:58 +01:00 committed by Salah Benmoussati
parent c93f741bce
commit 3be74a20b9

View File

@ -110,6 +110,7 @@ enum Channels {
Beta = 'beta',
Stable = 'stable',
Latest = 'latest',
IV = 'iv',
}
const menuItemsArray = Object.keys(menuSections)
@ -745,6 +746,15 @@ export class AppMenu {
checked: this.getUpdateChannel() === Channels.Latest,
label: i18n.t('Latest')(),
},
{
id: `${Target.SDA}-${Channels.IV}`,
click: (_item) =>
this.setUpdateChannelForMenuEntry(Target.SDA, Channels.IV),
visible: isCorp,
type: 'checkbox',
checked: this.getUpdateChannel() === Channels.IV,
label: i18n.t('C9 - IV')(),
},
{
id: `${Target.SDA}-${Channels.Beta}`,
click: (_item) =>