fix: update (#393)

This commit is contained in:
Fine0830 2024-04-19 15:54:17 +08:00 committed by GitHub
parent 54c236bacf
commit e4b2203cf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -352,6 +352,7 @@ limitations under the License. -->
return layout; return layout;
}); });
for (const item of templates) { for (const item of templates) {
delete item.configuration.id;
optimizeTemplate(item.configuration.children); optimizeTemplate(item.configuration.children);
} }
const name = `dashboards.json`; const name = `dashboards.json`;

View File

@ -41,7 +41,7 @@ limitations under the License. -->
</div> </div>
</div> </div>
</div> </div>
<div class="no-data" v-else>No Data</div> <div class="table-no-data" v-else>No Data</div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from "vue"; import { computed } from "vue";
@ -133,7 +133,7 @@ limitations under the License. -->
} }
} }
.no-data { .table-no-data {
font-size: $font-size-smaller; font-size: $font-size-smaller;
height: 100%; height: 100%;
align-items: center; align-items: center;