File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
src/routes/(console)/project-[region]-[project]/messaging/providers Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 43
43
| FCMProviderParams
44
44
| APNSProviderParams
45
45
>;
46
- const popover = input .popover ? PopoverContent : null ;
47
- const popoverProps = getPopoverProps (input );
48
-
49
- function getPopoverProps(input : ProviderInput ) {
50
- if (! input .popover ) {
51
- return {};
52
- }
53
- return {
54
- lines: input .popover ,
55
- image: input .popoverImage
56
- };
57
- }
58
46
59
47
function handleInvalid(e : CustomEvent ) {
60
48
const reason = e .detail ?.reason ?? ' ' ;
71
59
});
72
60
}
73
61
}
62
+
63
+ $ : popover = input .popover ? PopoverContent : null ;
64
+ $ : popoverProps = ! input .popover
65
+ ? {}
66
+ : {
67
+ lines: input .popover ,
68
+ image: input .popoverImage
69
+ };
74
70
</script >
75
71
76
72
{#if input .type === ' text' }
You can’t perform that action at this time.
0 commit comments