mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-28 09:14:05 +00:00
Fix: Add placeholder if no monitors to add
This commit is contained in:
parent
69bb6ef290
commit
d2af42e579
1 changed files with 3 additions and 0 deletions
|
@ -181,6 +181,9 @@
|
||||||
<option v-for="monitor in allMonitorList" :key="monitor.id" :value="monitor">{{ monitor.name }}</option>
|
<option v-for="monitor in allMonitorList" :key="monitor.id" :value="monitor">{{ monitor.name }}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else class="text-center">
|
||||||
|
{{ $t("No monitors available.") }} <router-link to="/add">{{ $t("Add one") }}</router-link>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue