Skip to content

Commit 1f9a3aa

Browse files
authored
feat: Add refresh after resource release in container overview (#11157)
1 parent 656dda2 commit 1f9a3aa

File tree

1 file changed

+1
-10
lines changed
  • frontend/src/views/container/dashboard

1 file changed

+1
-10
lines changed

frontend/src/views/container/dashboard/index.vue

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
</template>
190190
</CardWithHeader>
191191
</div>
192-
<TaskLog ref="taskLogRef" width="70%" />
192+
<TaskLog ref="taskLogRef" width="70%" @close="loadUsage" />
193193
</div>
194194
</template>
195195

@@ -265,15 +265,6 @@ const loadContainerCount = async () => {
265265
countItem.networkCount = res.data.networkCount;
266266
countItem.volumeCount = res.data.volumeCount;
267267
countItem.repoCount = res.data.repoCount;
268-
269-
countItem.containerUsage = res.data.containerUsage;
270-
countItem.containerReclaimable = res.data.containerReclaimable;
271-
countItem.imageUsage = res.data.imageUsage;
272-
countItem.imageReclaimable = res.data.imageReclaimable;
273-
countItem.volumeUsage = res.data.volumeUsage;
274-
countItem.volumeReclaimable = res.data.volumeReclaimable;
275-
countItem.buildCacheUsage = res.data.buildCacheUsage;
276-
countItem.buildCacheReclaimable = res.data.buildCacheReclaimable;
277268
});
278269
};
279270

0 commit comments

Comments
 (0)