Skip to content

Commit

Permalink
Fix conditional statement in Settings.vue for the skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed May 3, 2024
1 parent 2651198 commit ec79ccc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ui/src/views/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/>
</cv-column>
</cv-row>
<cv-row v-if="piler_is_running && ! always_bcc_correctly_set">
<cv-row v-if="piler_is_running && !always_bcc_correctly_set">
<cv-column>
<NsInlineNotification
kind="warning"
Expand All @@ -53,13 +53,16 @@
<cv-column>
<cv-tile light>
<cv-skeleton-text
v-show="loading.getConfiguration"
v-show="loading.getConfiguration || loading.configureModule"
heading
paragraph
:line-count="10"
width="80%"
></cv-skeleton-text>
<cv-form v-show="!loading.getConfiguration" @submit.prevent="configureModule">
<cv-form
v-show="!loading.getConfiguration && !loading.configureModule"
@submit.prevent="configureModule"
>
<NsTextInput
:label="$t('settings.piler_fqdn')"
:placeholder="$t('settings.placeholder_piler_domain')"
Expand Down Expand Up @@ -383,9 +386,9 @@ export default {
this.loading.configureModule = false;
},
configureModuleCompleted() {
this.loading.configureModule = false;
// reload configuration
this.getConfiguration();
this.loading.configureModule = false;
},
},
};
Expand Down

0 comments on commit ec79ccc

Please sign in to comment.