SDA-3964 Adding IV channel for corp auto-update

This commit is contained in:
sbenmoussati authored and Salah Benmoussati committed 2022-11-25 13:46:01 +01:00
1 parent c93f741bce
commit 3be74a20b9
1 file changed
+10
+10
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) =>