We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e774d commit ffadc67Copy full SHA for ffadc67
frontend/src/views/container/compose/index.vue
@@ -19,7 +19,7 @@
19
<TableSetting title="container-refresh" @search="search()" />
20
</template>
21
<template #main>
22
- <el-row v-if="data.length > 0" :gutter="20" class="row-box">
+ <el-row v-if="data.length > 0 || isOnCreate" :gutter="20" class="row-box">
23
<el-col :xs="24" :sm="24" :md="8" :lg="8" :xl="6">
24
<el-card>
25
<el-table
@@ -468,7 +468,7 @@ const loadFrom = (row: any) => {
468
};
469
470
const loadTableHeight = () => {
471
- if (currentCompose.value.createdBy === '1Panel') {
+ if (currentCompose.value?.createdBy === '1Panel') {
472
return `calc(100vh - 120px)`;
473
} else {
474
return `calc(100vh - 240px)`;
0 commit comments