ProgressBar null not undefined (#6953)

* ProgressBar null not undefined

* notification banner null

* update progress dialog

* docs: update type

---------

Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
Co-authored-by: Jesse Mazzella <jesse.d.mazzella@nasa.gov>
This commit is contained in:
David 'Epper' Marshall
2023-08-29 19:49:31 -04:00
committed by GitHub
parent ca06a6a047
commit b87459dfd7
10 changed files with 13 additions and 13 deletions

View File

@@ -359,7 +359,7 @@ export default {
},
saveAndFinishEditing() {
let dialog = this.openmct.overlays.progressDialog({
progressPerc: 'unknown',
progressPerc: null,
message:
'Do not navigate away from this page or close this browser tab while this message is displayed.',
iconClass: 'info',

View File

@@ -50,7 +50,7 @@
</div>
<div v-if="searchLoading" class="c-gsearch__result-pane-msg">
<div class="hint">Searching...</div>
<progress-bar :model="{ progressPerc: undefined }" />
<progress-bar :model="{ progressPerc: null }" />
</div>
<div
v-if="

View File

@@ -40,7 +40,7 @@
>
<progress-bar
v-if="activeModel.progressPerc !== undefined"
v-if="activeModel.progressPerc !== null"
class="c-message-banner__progress-bar"
:model="activeModel"
/>
@@ -88,7 +88,7 @@ export default {
return {
activeModel: {
message: undefined,
progressPerc: undefined,
progressPerc: null,
progressText: undefined,
minimized: undefined,
options: undefined
@@ -178,7 +178,7 @@ export default {
return;
}
if (this.activeModel.progressPerc !== undefined) {
if (this.activeModel.progressPerc !== null) {
maximizedDialog = this.openmct.overlays.progressDialog({
buttons: [minimizeButton],
...this.activeModel