Skip to content

Commit

Permalink
feat: lors de la première installation réussie, la "boite de dialogue…
Browse files Browse the repository at this point in the history
…" ne disparait pas #13
  • Loading branch information
hrenaud committed Oct 17, 2024
1 parent 4442f73 commit c7a58b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/renderer/components/initialization-error-alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ export const InitErrorAlerts = ({
(configData: ConfigData) => {
try {
frontLog.debug(`configData`, configData)
// If app ready, hide button Init Installation
if (
configData.type === ConfigData.APP_READY &&
configData.result === true
) {
setIsFirstStart(false)
}
if (configData.type !== ConfigData.APP_CAN_NOT_BE_LAUNCHED)
return
if (
Expand Down

0 comments on commit c7a58b7

Please sign in to comment.