Skip to content

Commit 3546051

Browse files
authored
adds missing admin bar submitted draft test identifiers (#5051)
1 parent 2ce68fc commit 3546051

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

modules/@apostrophecms/admin-bar/ui/apos/components/TheAposAdminBarMenu.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
:is="item.options.component"
7373
v-if="item.options.component"
7474
:key="`${item.name}.component`"
75+
:action="item.action"
7576
/>
7677
<AposButton
7778
v-else

modules/@apostrophecms/submitted-draft/ui/apos/components/AposSubmittedDraftIcon.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:disabled="count <= 0"
77
:tooltip="tooltip"
88
:icon-only="true"
9+
:action="action"
910
@click="open"
1011
>
1112
<template #label>
@@ -21,6 +22,12 @@
2122
<script>
2223
export default {
2324
name: 'AposSubmittedDraftIcon',
25+
props: {
26+
action: {
27+
type: String,
28+
required: true
29+
}
30+
},
2431
data() {
2532
return {
2633
count: 0

0 commit comments

Comments
 (0)