audiobookshelf/client/pages/config/users/index.vue

27 lines
613 B
Vue
Raw Normal View History

<template>
<div>
2022-11-26 18:08:09 +01:00
<app-settings-content :header-text="$strings.HeaderUsers" show-add-button @clicked="setShowUserModal">
<tables-users-table />
</app-settings-content>
<modals-account-modal ref="accountModal" v-model="showAccountModal" :account="selectedAccount" />
</div>
</template>
<script>
export default {
data() {
return {
selectedAccount: null,
2022-11-26 18:08:09 +01:00
showAccountModal: false
}
},
computed: {},
methods: {
setShowUserModal(selectedAccount) {
this.selectedAccount = selectedAccount
this.showAccountModal = true
}
},
mounted() {}
}
</script>