mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
dev work on menu to prod link
This commit is contained in:
parent
01ae220674
commit
9abb198e82
7 changed files with 163 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue