Add title to table when there are meaningfull
This commit is contained in:
parent
80a8ab478d
commit
7205f058ac
|
@ -33,6 +33,10 @@
|
|||
|
||||
<template>
|
||||
<div v-if="!isLoading && (edit || tmp_values.length > 0)">
|
||||
<h4 v-if="specs.label" class="mt-1 text-primary">
|
||||
{{ specs.label }}
|
||||
<small v-if="specs.description" class="text-muted">{{ specs.description }}</small>
|
||||
</h4>
|
||||
<b-table hover striped :fields="fieldsNames" :items="tmp_values" sort-icon-left>
|
||||
<template v-slot:head(_actions)>
|
||||
<b-button size="sm" title="Add item" variant="outline-secondary" class="mx-1" @click="addRow()">
|
||||
|
|
|
@ -43,9 +43,9 @@ import (
|
|||
)
|
||||
|
||||
type XMPP struct {
|
||||
Client []*SRV `json:"client,omitempty"`
|
||||
Server []*SRV `json:"server,omitempty"`
|
||||
Jabber []*SRV `json:"jabber,omitempty"`
|
||||
Client []*SRV `json:"client,omitempty" happydns:"label=Client Connection"`
|
||||
Server []*SRV `json:"server,omitempty" happydns:"label=Server Connection"`
|
||||
Jabber []*SRV `json:"jabber,omitempty" happydns:"label=Jabber Connection (legacy)"`
|
||||
}
|
||||
|
||||
func (s *XMPP) GetNbResources() (max int) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user