Files
wekan/server/publications/tableVisibilityModeSettings.js
T
Lauri Ojansivu 483f3cd538 The file integrity scan waits for a quiet CPU again.
fileIntegrityScan.js asked cpuMonitor for currentCpuPercent, which it never
exported, so cpuPercent() was always NaN: the hourly scan never skipped a
busy hour and every finding recorded cpuPercent NaN. It reads
getCurrentCpu().percent now.

Five files imported names their modules do not export - UserAvatar,
AttachmentStorage and Settings as a named import - none used; they are
removed. tests/namedImportsExist.test.cjs checks every named import and
destructured require of an app module against what that module exports.

Thanks to xet7 !
2026-10-17 00:56:00 +03:00

7 lines
207 B
JavaScript

import TableVisibilityModeSettings from '/models/tableVisibilityModeSettings';
Meteor.publish('tableVisibilityModeSettings', function() {
const ret = TableVisibilityModeSettings.find();
return ret;
});