New state for Update Dialog

This commit is contained in:
Fedor Indutny 2023-03-15 09:57:27 -07:00 committed by GitHub
parent 5949cc11b1
commit a1ab62f878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 93 additions and 29 deletions

View file

@ -33,7 +33,9 @@ export const isUpdateDialogVisible = createSelector(
export const isUpdateDownloaded = createSelector(
getUpdatesState,
({ dialogType }) => dialogType === DialogType.Update
({ dialogType }) =>
dialogType === DialogType.AutoUpdate ||
dialogType === DialogType.DownloadedUpdate
);
export const isOSUnsupported = createSelector(