Skip to content

Commit 2a6cd7d

Browse files
committed
Update panel push indices in form component based on data presence and add backward compatibility.
1 parent 377ec11 commit 2a6cd7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/src/components/apps/form.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,16 +1846,16 @@ export default defineComponent({
18461846
18471847
// Open Panel if there is some data to show
18481848
if (this.envvars.length > 0) {
1849-
this.panel.push(5)
1849+
this.panel.push(6)
18501850
}
18511851
if (Object.keys(this.sAAnnotations).length > 0) {
1852-
this.panel.push(4)
1852+
this.panel.push(5)
18531853
}
18541854
if (this.extraVolumes.length > 0) {
1855-
this.panel.push(7)
1855+
this.panel.push(8)
18561856
}
18571857
if (this.cronjobs.length > 0) {
1858-
this.panel.push(8)
1858+
this.panel.push(9)
18591859
}
18601860
18611861
// Backward compatibility older v1.11.1

0 commit comments

Comments
 (0)