+
{
+ resolve(
+ window.SharedComponents?.Recommendations || { template: "" }
+ );
+};
+
export default {
- components: { formEmpty },
+ components: { formEmpty, Recommendations },
mixins: [uniqIdsMixin, datatableMixin],
data() {
return {
@@ -162,10 +170,8 @@ export default {
}
],
advancedFilter: "",
- tasksPreview:
- (window.SharedComponents && window.SharedComponents.TasksHome) || {},
- taskTooltip:
- (window.SharedComponents && window.SharedComponents.TaskTooltip) || {},
+ tasksPreview: window.SharedComponents?.TasksHome || {},
+ taskTooltip: window.SharedComponents?.TaskTooltip || {},
rowPosition: {},
ellipsisShow: false,
isTooltipVisible: false,
@@ -568,7 +574,11 @@ export default {
const rightBorderX = rect.right;
- const bottomBorderY = yPosition - topAdjust - elementHeight + 100;
+ let bottomBorderY = yPosition - topAdjust - elementHeight + 100;
+
+ if (document.getElementsByClassName("recommendation").length > 0) {
+ bottomBorderY += 60;
+ }
this.rowPosition = {
x: rightBorderX,