mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Removed Categories and Locations
This commit is contained in:
parent
c916c278a2
commit
2b1022f513
23 changed files with 4 additions and 637 deletions
|
|
@ -2,8 +2,6 @@ import { SysConfig } from '../imports/api/systemConfig.js';
|
|||
import { Stores } from '../imports/api/stores.js';
|
||||
import { UserConfigOptions } from '../imports/api/userConfigOptions.js';
|
||||
import { Products } from '../imports/api/products.js';
|
||||
import { Categories } from '../imports/api/category.js';
|
||||
import { Locations } from '../imports/api/location.js';
|
||||
import { Lists } from '../imports/api/lists.js';
|
||||
import { ListItems } from '../imports/api/listItems.js';
|
||||
import { Menus } from '../imports/api/menu.js';
|
||||
|
|
@ -39,22 +37,6 @@ Meteor.publish("myProducts", function() {
|
|||
}
|
||||
});
|
||||
|
||||
Meteor.publish("myCategories", function() {
|
||||
try {
|
||||
return Categories.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling category data: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("myLocations", function() {
|
||||
try {
|
||||
return Locations.find({});
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling location data: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("myLists", function() {
|
||||
try {
|
||||
return Lists.find( { $or: [ { listOwner: this.userId, listComplete: false }, { listShared: true, listComplete: false } ] } );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue