File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 756756 },
757757 handleNotRelevantRecommendation (node ) {
758758 this .rejectedNode = node;
759+ const type = FeedbackTypeOptions .rejected ;
760+ const reason = this .recommendationsFeedback ? this .recommendationsFeedback : type;
759761 const interactionEvent = new RecommendationsInteractionEvent ({
760762 recommendation_event_id: this .recommendationsEvent .id ,
761763 contentnode_id: node .id ,
762764 content_id: node .content_id ,
763765 context: {
764766 other_feedback: this .otherFeedback ,
765767 },
766- feedback_type: FeedbackTypeOptions . rejected ,
767- feedback_reason: this . recommendationsFeedback ,
768+ feedback_type: type ,
769+ feedback_reason: reason ,
768770 });
769771 sendRequest (interactionEvent)
770772 .then (() => {
You can’t perform that action at this time.
0 commit comments