File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed
frontend/src/modules/automation/components/filter-options Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,16 @@ const { active } = mapGetters('integration');
119
119
120
120
const { types } = storeToRefs (useActivityTypeStore ());
121
121
122
- const computedPlatformOptions = computed (() => active .value .map ((item ) => ({
122
+ const computedPlatformOptions = computed (() => [ ... active .value .map ((item ) => ({
123
123
value: item .platform ,
124
124
label: CrowdIntegrations .getConfig (item .platform )
125
125
.name ,
126
- })));
126
+ })),
127
+ {
128
+ value: ' twitter' ,
129
+ label: ' Twitter' ,
130
+ },
131
+ ]);
127
132
128
133
const computedActivityTypeOptions = computed (() => {
129
134
if (
Original file line number Diff line number Diff line change @@ -70,10 +70,16 @@ const form = computed({
70
70
71
71
const { active } = mapGetters (' integration' );
72
72
73
- const computedPlatformOptions = computed (() => active .value .map ((item ) => ({
73
+ const computedPlatformOptions = computed (() => [ ... active .value .map ((item ) => ({
74
74
value: item .platform ,
75
- label: CrowdIntegrations .getConfig (item .platform )? .name || ' Custom' ,
76
- })));
75
+ label: CrowdIntegrations .getConfig (item .platform )
76
+ .name ,
77
+ })),
78
+ {
79
+ value: ' twitter' ,
80
+ label: ' Twitter' ,
81
+ },
82
+ ]);
77
83
78
84
const getPlatformDetails = (platform ) => CrowdIntegrations .getConfig (platform);
79
85
You can’t perform that action at this time.
0 commit comments