mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
chore: always show user list controls
This commit is contained in:
parent
a64353aedc
commit
24ea957e9e
1 changed files with 1 additions and 4 deletions
|
@ -3,10 +3,9 @@
|
||||||
<template #header>
|
<template #header>
|
||||||
<ScreenHeader layout="collapsed">
|
<ScreenHeader layout="collapsed">
|
||||||
Users
|
Users
|
||||||
<ControlsToggle v-model="showingControls" />
|
|
||||||
|
|
||||||
<template #controls>
|
<template #controls>
|
||||||
<BtnGroup v-if="showingControls || !isPhone" uppercase>
|
<BtnGroup uppercase>
|
||||||
<Btn success @click="showAddUserForm">
|
<Btn success @click="showAddUserForm">
|
||||||
<Icon :icon="faPlus" />
|
<Icon :icon="faPlus" />
|
||||||
Add
|
Add
|
||||||
|
@ -72,8 +71,6 @@ const users = computed(() => allUsers
|
||||||
|
|
||||||
const prospects = computed(() => allUsers.value.filter(({ is_prospect }) => is_prospect))
|
const prospects = computed(() => allUsers.value.filter(({ is_prospect }) => is_prospect))
|
||||||
|
|
||||||
const isPhone = isMobile.phone
|
|
||||||
const showingControls = ref(false)
|
|
||||||
const canInvite = window.MAILER_CONFIGURED
|
const canInvite = window.MAILER_CONFIGURED
|
||||||
|
|
||||||
const showAddUserForm = () => eventBus.emit('MODAL_SHOW_ADD_USER_FORM')
|
const showAddUserForm = () => eventBus.emit('MODAL_SHOW_ADD_USER_FORM')
|
||||||
|
|
Loading…
Reference in a new issue