mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
chore: cleanup and small misc fixes
display success alert if on latest EOS after check for update fix bug with loader dismiss after alert present fix restart button on update complete alert and fix mocks to account for this state fix make clean and adjust default registry names
This commit is contained in:
@@ -187,7 +187,6 @@ export class MockApiService extends ApiService {
|
||||
value: initialProgress,
|
||||
},
|
||||
]
|
||||
|
||||
return this.withRevision(patch, 'updating')
|
||||
}
|
||||
|
||||
@@ -860,6 +859,16 @@ export class MockApiService extends ApiService {
|
||||
},
|
||||
]
|
||||
this.updateMock(patch4)
|
||||
// set patch indicating update is complete
|
||||
await pauseFor(100)
|
||||
const patch6 = [
|
||||
{
|
||||
op: PatchOp.REPLACE,
|
||||
path: '/server-info/status-info',
|
||||
value: Mock.ServerUpdated,
|
||||
},
|
||||
]
|
||||
this.updateMock(patch6)
|
||||
}, 1000)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user