mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Adding more methods and views, updated dashboards a bit. Still not ready
This commit is contained in:
parent
266dbd0856
commit
42643a37f5
23 changed files with 374 additions and 32 deletions
|
|
@ -4,6 +4,7 @@ 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';
|
||||
|
||||
Meteor.publish("SystemConfig", function() {
|
||||
try {
|
||||
|
|
@ -47,4 +48,12 @@ Meteor.publish("myLocations", function() {
|
|||
} catch (error) {
|
||||
console.log(" ERROR pulling location data: " + error);
|
||||
}
|
||||
});
|
||||
|
||||
Meteor.publish("myLists", function() {
|
||||
try {
|
||||
return Lists.find({ listOwner: this.userId, listComplete: false });
|
||||
} catch (error) {
|
||||
console.log(" ERROR pulling list data: " + error);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue