@seafile/sdoc-editor 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -77,8 +77,6 @@ function SeaTableTable(_ref) {
|
|
|
77
77
|
userId,
|
|
78
78
|
userDepartmentIdsMap
|
|
79
79
|
};
|
|
80
|
-
console.log(filters);
|
|
81
|
-
console.log(userDepartmentIdsMap);
|
|
82
80
|
const {
|
|
83
81
|
row_ids
|
|
84
82
|
} = getFilteredRowsWithoutFormulaCalculation(filter_conjunction, filters, validRecords, table, optionalParams);
|
|
@@ -136,7 +134,10 @@ function SeaTableTable(_ref) {
|
|
|
136
134
|
top: menuTop,
|
|
137
135
|
left: left // left = code-block left distance
|
|
138
136
|
};
|
|
139
|
-
|
|
137
|
+
// 165 is distance with browser top
|
|
138
|
+
if (menuTop < 165) {
|
|
139
|
+
newMenuPosition['display'] = 'none';
|
|
140
|
+
}
|
|
140
141
|
setMenuPosition(newMenuPosition);
|
|
141
142
|
}
|
|
142
143
|
}, [isShowMenu, readOnly]);
|