dev work on menu to prod link

This commit is contained in:
Brian McGonagill 2024-07-28 19:42:23 -05:00
parent 01ae220674
commit 9abb198e82
7 changed files with 163 additions and 3 deletions

View file

@ -9,6 +9,7 @@ import { MenuItems } from '../imports/api/menuItems.js';
import moment from 'moment';
import { TaskItems } from '../imports/api/tasks.js';
import { UserConfig } from '../imports/api/userConfig.js';
import { MenuProdLinks } from '../imports/api/menuProdLinks.js';
Meteor.publish("SystemConfig", function() {
try {
@ -118,4 +119,12 @@ Meteor.publish("rolesAvailable", function() {
} catch (error) {
console.log(" ERROR publishing roles: " + error);
}
})
});
Meteor.publish("menuProdLinkData", function() {
try {
return MenuProdLinks.find({});
} catch (error) {
console.log(" ERROR publishing menu product links: " + error);
}
});