|
|
@@ -15,19 +15,20 @@ section.pairs-list
|
|
15
|
15
|
.idCard
|
|
16
|
16
|
h3 {{ pair.profile.name }} {{ pair.profile.pid }}
|
|
17
|
17
|
p registered nurse
|
|
18
|
|
-
|
|
19
|
|
- w-menu(shadow v-model="showMenu")
|
|
|
18
|
+
|
|
|
19
|
+ w-menu(align-left arrow shadow v-model='showMenu')
|
|
20
|
20
|
template(#activator)
|
|
21
|
|
- w-button.mr3(@click="showMenu = true") menu
|
|
22
|
|
- w-flex.pl10.mt4(wrap justify-end)
|
|
23
|
|
- w-button.mr1(text color="green" @click="showMenu = false") Chat
|
|
24
|
|
- w-button.mr1(text color="green" @click="showMenu = false") Calendar
|
|
25
|
|
- w-button(text color="green" @click="showMenu = false") cancel
|
|
|
21
|
+ w-button.mr3(@click='showMenu = !showMenu') menu
|
|
|
22
|
+ w-flex.pl10.mt4(justify-end wrap)
|
|
|
23
|
+ w-button.mr1(@click='showMenu = false' color='green' text) Chat
|
|
|
24
|
+ w-button.mr1(@click='showMenu = false' color='green' text) Calendar
|
|
|
25
|
+ w-button(@click='showMenu = false' color='green' text) cancel
|
|
26
|
26
|
|
|
27
|
27
|
p(v-else) No {{ tabName }} profiles.
|
|
28
|
28
|
</template>
|
|
29
|
29
|
|
|
30
|
30
|
<script setup>
|
|
|
31
|
+import { ref } from 'vue'
|
|
31
|
32
|
const props = defineProps({
|
|
32
|
33
|
pairs: {
|
|
33
|
34
|
type: [Object, Array],
|
|
|
@@ -38,9 +39,7 @@ const props = defineProps({
|
|
38
|
39
|
default: 'paired',
|
|
39
|
40
|
},
|
|
40
|
41
|
})
|
|
41
|
|
-
|
|
42
|
|
-
|
|
43
|
|
-
|
|
|
42
|
+const showMenu = ref(false)
|
|
44
|
43
|
</script>
|
|
45
|
44
|
|
|
46
|
45
|
<style lang="sass">
|