diff --git a/components/admin/Places.vue b/components/admin/Places.vue index 2516a7dd..0bf91ffa 100644 --- a/components/admin/Places.vue +++ b/components/admin/Places.vue @@ -7,12 +7,13 @@ el-form-item(:label="$t('common.address')") el-input.mr-1(:placeholder='$t("common.address")' v-model='place.address') el-button(variant='primary' @click='savePlace') {{$t('common.save')}} + el-table(:data='paginatedPlaces' small) - el-table-column(:label="$t('common.name')") + el-table-column(:label="$t('common.name')" width='200') template(slot-scope='data') {{data.row.name}} - el-table-column(:label="$t('common.address')") + el-table-column(:label="$t('common.address')" width='400') template(slot-scope='data') {{data.row.address}} - el-table-column(:label="$t('common.actions')") + el-table-column(:label="$t('common.actions')" width='200') template(slot-scope='data') el-button(size='mini' type='success' diff --git a/components/admin/Users.vue b/components/admin/Users.vue index dc89ddc4..1cb9b0a2 100644 --- a/components/admin/Users.vue +++ b/components/admin/Users.vue @@ -16,14 +16,14 @@ div //- USERS LIST el-table(:data='paginatedUsers' small) - el-table-column(label='Username') + el-table-column(label='Username' width='150') template(slot-scope='data') span(slot='reference') {{data.row.username}} - el-table-column(label='Email') + el-table-column(label='Email' width='300') template(slot-scope='data') el-popover(trigger='hover' :content='data.row.description' width='400') span(slot='reference') {{data.row.email}} - el-table-column(:label="$t('common.actions')") + el-table-column(:label="$t('common.actions')" width='300') template(slot-scope='data') div(v-if='data.row.id!==$auth.user.id') el-button-group diff --git a/server/api/controller/settings.js b/server/api/controller/settings.js index ba964986..128ec66f 100644 --- a/server/api/controller/settings.js +++ b/server/api/controller/settings.js @@ -81,5 +81,5 @@ const settingsController = { }, } -setTimeout(settingsController.initialize, 200) +settingsController.initialize() module.exports = settingsController