Remove support for Buefy 0.8
only Buefy 0.9 and greater are supported now
This commit is contained in:
parent
5f7fa33eb2
commit
8410419717
20 changed files with 1057 additions and 1625 deletions
|
@ -99,83 +99,59 @@
|
|||
|
||||
<b-table
|
||||
:data="tableColumns">
|
||||
% if buefy_0_8:
|
||||
<template slot-scope="props">
|
||||
% endif
|
||||
|
||||
<b-table-column field="name"
|
||||
label="Name"
|
||||
% if not buefy_0_8:
|
||||
v-slot="props"
|
||||
% endif
|
||||
>
|
||||
{{ props.row.name }}
|
||||
</b-table-column>
|
||||
<b-table-column field="name"
|
||||
label="Name"
|
||||
v-slot="props">
|
||||
{{ props.row.name }}
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="data_type"
|
||||
label="Data Type"
|
||||
% if not buefy_0_8:
|
||||
v-slot="props"
|
||||
% endif
|
||||
>
|
||||
{{ formatDataType(props.row.data_type) }}
|
||||
</b-table-column>
|
||||
<b-table-column field="data_type"
|
||||
label="Data Type"
|
||||
v-slot="props">
|
||||
{{ formatDataType(props.row.data_type) }}
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="nullable"
|
||||
label="Nullable"
|
||||
% if not buefy_0_8:
|
||||
v-slot="props"
|
||||
% endif
|
||||
>
|
||||
{{ props.row.nullable ? "Yes" : "No" }}
|
||||
</b-table-column>
|
||||
<b-table-column field="nullable"
|
||||
label="Nullable"
|
||||
v-slot="props">
|
||||
{{ props.row.nullable ? "Yes" : "No" }}
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="versioned"
|
||||
label="Versioned"
|
||||
:visible="tableVersioned"
|
||||
% if not buefy_0_8:
|
||||
v-slot="props"
|
||||
% endif
|
||||
>
|
||||
{{ props.row.versioned ? "Yes" : "No" }}
|
||||
</b-table-column>
|
||||
<b-table-column field="versioned"
|
||||
label="Versioned"
|
||||
:visible="tableVersioned"
|
||||
v-slot="props">
|
||||
{{ props.row.versioned ? "Yes" : "No" }}
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="description"
|
||||
label="Description"
|
||||
% if not buefy_0_8:
|
||||
v-slot="props"
|
||||
% endif
|
||||
>
|
||||
{{ props.row.description }}
|
||||
</b-table-column>
|
||||
<b-table-column field="description"
|
||||
label="Description"
|
||||
v-slot="props">
|
||||
{{ props.row.description }}
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="actions"
|
||||
label="Actions"
|
||||
% if not buefy_0_8:
|
||||
v-slot="props"
|
||||
% endif
|
||||
>
|
||||
<a v-if="props.row.name != 'uuid'"
|
||||
href="#"
|
||||
@click.prevent="tableEditColumn(props.row)">
|
||||
<i class="fas fa-edit"></i>
|
||||
Edit
|
||||
</a>
|
||||
|
||||
<b-table-column field="actions"
|
||||
label="Actions"
|
||||
v-slot="props">
|
||||
<a v-if="props.row.name != 'uuid'"
|
||||
href="#"
|
||||
@click.prevent="tableEditColumn(props.row)">
|
||||
<i class="fas fa-edit"></i>
|
||||
Edit
|
||||
</a>
|
||||
|
||||
|
||||
<a v-if="props.row.name != 'uuid'"
|
||||
href="#"
|
||||
class="has-text-danger"
|
||||
@click.prevent="tableDeleteColumn(props.index)">
|
||||
<i class="fas fa-trash"></i>
|
||||
Delete
|
||||
</a>
|
||||
|
||||
</b-table-column>
|
||||
<a v-if="props.row.name != 'uuid'"
|
||||
href="#"
|
||||
class="has-text-danger"
|
||||
@click.prevent="tableDeleteColumn(props.index)">
|
||||
<i class="fas fa-trash"></i>
|
||||
Delete
|
||||
</a>
|
||||
|
||||
</b-table-column>
|
||||
|
||||
% if buefy_0_8:
|
||||
</template>
|
||||
% endif
|
||||
</b-table>
|
||||
|
||||
<b-modal has-modal-card
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue