Commit d104e7eb authored by Anton's avatar Anton

Fix compile errors in DataTable

parent cd98ef48
Pipeline #12124 passed with stage
in 7 minutes and 49 seconds
...@@ -5,28 +5,30 @@ ...@@ -5,28 +5,30 @@
.col-3.col-sm-5.col-md-4.col-lg-3.col-xl-3 .col-3.col-sm-5.col-md-4.col-lg-3.col-xl-3
slot(name="top-buttons", slot-scope="props") slot(name="top-buttons", slot-scope="props")
.col-9.col-sm-7.col-md-8.col-lg-9.col-xl-9 .col-9.col-sm-7.col-md-8.col-lg-9.col-xl-9
q-search(v-model="filter", dark, icon="search")q-table( q-search(v-model="filter", dark, icon="search")
v-if="cols.length > 0",
dark,
ref="table",
row-key="name",
:data="rows",
:columns="cols",
:selection="selection",
:selected.sync="selected",
@request="request",
:loading="loading",
:rows-per-page-options="rowsPerPage",
:pagination.sync="pagination",
:hide-bottom="hideBottom",
:filter="filter",
:title="tableTitle")
template(slot="top-left", slot-scope="props") q-table(
slot(name="buttons-left") v-if="cols.length > 0",
dark,
ref="table",
row-key="name",
:data="rows",
:columns="cols",
:selection="selection",
:selected.sync="selected",
@request="request",
:loading="loading",
:rows-per-page-options="rowsPerPage",
:pagination.sync="pagination",
:hide-bottom="hideBottom",
:filter="filter",
:title="tableTitle")
<!--template(slot="top-right", slot-scope="props")--> template(slot="top-left", slot-scope="props")
<!--q-search(v-model="filter", dark, icon="search")--> slot(name="buttons-left")
<!--template(slot="top-right", slot-scope="props")-->
<!--q-search(v-model="filter", dark, icon="search")-->
q-td(slot="body-cell-title", slot-scope="props", :props="props") q-td(slot="body-cell-title", slot-scope="props", :props="props")
template(v-if="customTitleLink") template(v-if="customTitleLink")
router-link.primary(:to="getCustomLink(customTitleLink, props.row._uuid)") router-link.primary(:to="getCustomLink(customTitleLink, props.row._uuid)")
...@@ -36,11 +38,11 @@ ...@@ -36,11 +38,11 @@
promise-span(:value="props.value") promise-span(:value="props.value")
promise-span(v-if="!hasShow", :value="props.value") promise-span(v-if="!hasShow", :value="props.value")
q-td(slot="body-cell-tags", slot-scope="props", :props="props") q-td(slot="body-cell-tags", slot-scope="props", :props="props")
promise-span(:value="props.value") promise-span(:value="props.value")
q-td(slot="body-cell-actions", slot-scope="props", :props="props") q-td(slot="body-cell-actions", slot-scope="props", :props="props")
q-btn(v-for="btn in props.value", :key="btn.icon", "flat", size="sm", :icon="btn.icon", q-btn(v-for="btn in props.value", :key="btn.icon", "flat", size="sm", :icon="btn.icon",
@click="defaultClick(btn, props)") {{ $t(btn.title) }} @click="defaultClick(btn, props)") {{ $t(btn.title) }}
</template> </template>
<script> <script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment