Commit 8eaaee4b authored by christianrhansen's avatar christianrhansen

table columns & actions adjustment

parent bed85348
Pipeline #52700 passed with stage
in 1 minute and 3 seconds
......@@ -10,14 +10,8 @@
q-td(slot="body-cell-actions", slot-scope="props", :props="props")
template(v-for="btn in actions")
q-btn.inline(
v-if="btn.type !== 'acl'", :key="btn.icon", flat, size="md", :icon="btn.icon",
@click="defaultClick(btn, props)",
:disabled="btn.type === 'copy' && props.row.name",
:class="{'text-grey-7': btn.type === 'copy' && props.row.name}") {{ $t(btn.title) }}
q-select.inline.ui-border.q-pl-sm.q-mr-sm(
v-else, v-model="model.acl", :options="btn.options", dark,
q-select.inline.ui-border.q-pl-sm(
v-if="btn.type === 'acl'", v-model="model.acl", :options="btn.options", dark,
@input="inputChange", hide-underline, no-parent-field)
</template>
......@@ -48,14 +42,6 @@
align: 'left',
field: 'title',
sortable: true
},
{
name: 'id',
required: true,
label: 'ID',
align: 'left',
field: 'id',
sortable: true
}
]
},
......@@ -76,12 +62,6 @@
value: 'write'
}
]
},
{
type: 'delete',
icon: 'delete',
color: 'primary',
click: (item) => this.$refs.confirmModal.show('messages.confirm_delete_group', item.__index)
}
]
}
......
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