Skip to content

Commit 00412a7

Browse files
allow inviting users to unpublished events (#241)
1 parent 06f5b0b commit 00412a7

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/app/components/home-app/event-template-info/event-template-info.component.html

+2-11
Original file line numberDiff line numberDiff line change
@@ -141,28 +141,19 @@
141141
</button>
142142
<div
143143
style="display: inline-block"
144-
[matTooltip]="
145-
eventTemplate.isPublished
146-
? 'Create An Invite Link'
147-
: 'Event Template Must Be Published To Invite Users.'
148-
"
144+
matTooltip="Create An Invite Link"
149145
>
150146
<button
151147
mat-raised-button
152148
[matMenuTriggerFor]="invite"
153-
[disabled]="eventTemplate.isPublished ? false : true"
154149
class="event-button-end"
155150
>
156151
Invite
157152
<mat-icon
158153
svgIcon="ic_expand_more_black_24px"
159154
></mat-icon>
160155
</button>
161-
<mat-menu
162-
#invite="matMenu"
163-
[overlapTrigger]="false"
164-
[disabled]="eventTemplate.isPublished ? true : false"
165-
>
156+
<mat-menu #invite="matMenu" [overlapTrigger]="false">
166157
<button
167158
*ngIf="!alloyEvent?.shareCode"
168159
mat-menu-item

0 commit comments

Comments
 (0)