mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
add refreshIntervalInSecond in 1.4.2 feature flag
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
parent
c10573d24a
commit
30dc56cad5
@ -65,6 +65,10 @@ export default {
|
|||||||
}];
|
}];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
refreshIntervalInSecondEnabled() {
|
||||||
|
return this.$store.getters['harvester-common/getFeatureEnabled']('refreshIntervalInSecond');
|
||||||
|
},
|
||||||
|
|
||||||
isS3() {
|
isS3() {
|
||||||
return this.parseDefaultValue.type === DEFAULT_TYPE;
|
return this.parseDefaultValue.type === DEFAULT_TYPE;
|
||||||
},
|
},
|
||||||
@ -146,6 +150,7 @@ export default {
|
|||||||
@update:value="update"
|
@update:value="update"
|
||||||
/>
|
/>
|
||||||
<UnitInput
|
<UnitInput
|
||||||
|
v-if="refreshIntervalInSecondEnabled"
|
||||||
v-model:value="parseDefaultValue.refreshIntervalInSeconds"
|
v-model:value="parseDefaultValue.refreshIntervalInSeconds"
|
||||||
:suffix="parseDefaultValue.refreshIntervalInSeconds <= 1 ? 'Second' : 'Seconds'"
|
:suffix="parseDefaultValue.refreshIntervalInSeconds <= 1 ? 'Second' : 'Seconds'"
|
||||||
:label="t('harvester.backup.refreshInterval.label')"
|
:label="t('harvester.backup.refreshInterval.label')"
|
||||||
@ -156,6 +161,7 @@ export default {
|
|||||||
@update:value="update"
|
@update:value="update"
|
||||||
/>
|
/>
|
||||||
<Tip
|
<Tip
|
||||||
|
v-if="refreshIntervalInSecondEnabled"
|
||||||
class="mb-20"
|
class="mb-20"
|
||||||
icon="icon icon-info"
|
icon="icon icon-info"
|
||||||
:text="t('harvester.backup.refreshInterval.tip')"
|
:text="t('harvester.backup.refreshInterval.tip')"
|
||||||
|
|||||||
@ -42,7 +42,8 @@ const featuresV141 = [
|
|||||||
|
|
||||||
// TODO: add v1.4.2 official release note
|
// TODO: add v1.4.2 official release note
|
||||||
const featuresV142 = [
|
const featuresV142 = [
|
||||||
...featuresV141
|
...featuresV141,
|
||||||
|
'refreshIntervalInSecond'
|
||||||
];
|
];
|
||||||
|
|
||||||
// TODO: add v1.5.0 official release note
|
// TODO: add v1.5.0 official release note
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user