Skip to content
Snippets Groups Projects
Commit 50535e78 authored by Agate's avatar Agate :speech_balloon:
Browse files

Fix #1198: Fixed domains table hidden controls when no domains are found

parent e309e93d
No related branches found
No related tags found
No related merge requests found
Fixed domains table hidden controls when no domains are found (#1198)
\ No newline at end of file
<template>
<div v-if="result.count > 0">
<div>
<div class="ui inline form">
<div class="fields">
<div class="ui field">
......@@ -33,10 +33,10 @@
</div>
<div class="dimmable">
<div v-if="isLoading" class="ui active inverted dimmer">
<div class="ui loader"></div>
<div class="ui loader"></div>
</div>
<action-table
v-if="result"
v-if="result && result.results.length > 0"
@action-launched="fetchData"
:objects-data="result"
:actions="actions"
......@@ -71,6 +71,12 @@
</td>
</template>
</action-table>
<div v-else class="ui placeholder segment">
<div class="ui icon header">
<i class="server icon"></i>
<translate translate-context="Content/Home/Placeholder">No other pods found</translate>
</div>
</div>
</div>
<div>
<pagination
......@@ -90,12 +96,6 @@
</span>
</div>
</div>
<div v-else class="ui placeholder segment">
<div class="ui icon header">
<i class="server icon"></i>
<translate translate-context="Content/Home/Placeholder">No interactions with other pods yet</translate>
</div>
</div>
</template>
<script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment