diff --git a/.meteor/packages b/.meteor/packages index 8990821..d9eb973 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -6,23 +6,23 @@ meteor-base@1.5.1 # Packages every Meteor app needs to have mobile-experience@1.1.0 # Packages for a great mobile UX -mongo@1.15.0 # The database Meteor supports right now +mongo@1.16.5 # The database Meteor supports right now jquery # Wrapper package for npm-installed jquery -reactive-var@1.0.11 # Reactive variable for tracker +reactive-var@1.0.12 # Reactive variable for tracker -standard-minifier-css@1.8.1 # CSS minifier run for production mode -standard-minifier-js@2.8.0 # JS minifier run for production mode +standard-minifier-css@1.9.0 # CSS minifier run for production mode +standard-minifier-js@2.8.1 # JS minifier run for production mode es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers -ecmascript@0.16.2 # Enable ECMAScript2015+ syntax in app code -typescript # Enable TypeScript syntax in .ts and .tsx modules +ecmascript@0.16.6 # Enable ECMAScript2015+ syntax in app code +typescript@4.9.4 # Enable TypeScript syntax in .ts and .tsx modules shell-server@0.5.0 # Server-side component of the `meteor shell` command static-html@1.3.2 # Define static page content in .html files react-meteor-data # React higher-order component for reactively tracking Meteor data accounts-ui@1.4.2 -accounts-password@2.3.1 +accounts-password@2.3.4 accounts-google@1.4.0 -service-configuration@1.3.0 +service-configuration@1.3.1 google-config-ui@1.0.3 # Adds the UI for logging in via Google alanning:roles # Adds roles to the user diff --git a/.meteor/release b/.meteor/release index 66dd7b6..31dd9a2 100644 --- a/.meteor/release +++ b/.meteor/release @@ -1 +1 @@ -METEOR@2.7.3 +METEOR@2.11.0 diff --git a/.meteor/versions b/.meteor/versions index 0f7c141..5bfabae 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -1,41 +1,41 @@ -accounts-base@2.2.4 +accounts-base@2.2.7 accounts-google@1.4.0 -accounts-oauth@1.4.1 -accounts-password@2.3.1 +accounts-oauth@1.4.2 +accounts-password@2.3.4 accounts-ui@1.4.2 accounts-ui-unstyled@1.7.0 alanning:roles@3.4.0 allow-deny@1.1.1 autoupdate@1.8.0 -babel-compiler@7.9.2 +babel-compiler@7.10.3 babel-runtime@1.5.1 base64@1.0.12 binary-heap@1.0.11 -blaze@2.5.0 +blaze@2.6.1 blaze-tools@1.1.3 boilerplate-generator@1.7.1 caching-compiler@1.2.2 caching-html-compiler@1.2.1 -callback-hook@1.4.0 -check@1.3.1 -ddp@1.4.0 -ddp-client@2.5.0 +callback-hook@1.5.0 +check@1.3.2 +ddp@1.4.1 +ddp-client@2.6.1 ddp-common@1.4.0 -ddp-rate-limiter@1.1.0 -ddp-server@2.5.0 -diff-sequence@1.1.1 +ddp-rate-limiter@1.1.1 +ddp-server@2.6.0 +diff-sequence@1.1.2 dynamic-import@0.7.2 -ecmascript@0.16.2 +ecmascript@0.16.6 ecmascript-runtime@0.8.0 ecmascript-runtime-client@0.12.1 ecmascript-runtime-server@0.11.0 -ejson@1.1.2 -email@2.2.1 +ejson@1.1.3 +email@2.2.4 es5-shim@4.8.0 -fetch@0.1.1 -geojson-utils@1.0.10 +fetch@0.1.3 +geojson-utils@1.0.11 google-config-ui@1.0.3 -google-oauth@1.4.2 +google-oauth@1.4.3 hot-code-push@1.0.4 html-tools@1.1.3 htmljs@1.1.1 @@ -43,57 +43,57 @@ id-map@1.1.1 inter-process-messaging@0.1.1 jquery@3.0.0 launch-screen@1.3.0 -less@3.0.2 +less@4.0.0 localstorage@1.2.0 -logging@1.3.1 -meteor@1.10.0 +logging@1.3.2 +meteor@1.11.1 meteor-base@1.5.1 meteortoys:toykit@10.0.0 -minifier-css@1.6.1 +minifier-css@1.6.2 minifier-js@2.7.5 -minimongo@1.8.0 +minimongo@1.9.2 mobile-experience@1.1.0 mobile-status-bar@1.1.0 -modern-browsers@0.1.8 -modules@0.18.0 -modules-runtime@0.13.0 -mongo@1.15.0 +modern-browsers@0.1.9 +modules@0.19.0 +modules-runtime@0.13.1 +mongo@1.16.5 mongo-decimal@0.1.3 mongo-dev-server@1.1.0 mongo-id@1.0.8 msavin:mongol@10.0.1 -npm-mongo@4.3.1 -oauth@2.1.2 -oauth2@1.3.1 +npm-mongo@4.14.0 +oauth@2.2.0 +oauth2@1.3.2 observe-sequence@1.0.20 ordered-dict@1.1.0 -promise@0.12.0 -random@1.2.0 +promise@0.12.2 +random@1.2.1 rate-limit@1.0.9 -react-fast-refresh@0.2.3 -react-meteor-data@2.5.1 -reactive-dict@1.3.0 -reactive-var@1.0.11 +react-fast-refresh@0.2.6 +react-meteor-data@2.7.2 +reactive-dict@1.3.1 +reactive-var@1.0.12 reload@1.3.1 retry@1.1.0 routepolicy@1.1.1 -service-configuration@1.3.0 -session@1.2.0 +service-configuration@1.3.1 +session@1.2.1 sha@1.0.9 shell-server@0.5.0 socket-stream-client@0.5.0 -spacebars@1.2.0 +spacebars@1.3.0 spacebars-compiler@1.3.1 -standard-minifier-css@1.8.2 +standard-minifier-css@1.9.0 standard-minifier-js@2.8.1 static-html@1.3.2 -templating@1.4.1 +templating@1.4.2 templating-compiler@1.4.1 -templating-runtime@1.5.0 +templating-runtime@1.6.1 templating-tools@1.2.2 -tracker@1.2.0 -typescript@4.5.4 -underscore@1.0.10 +tracker@1.3.1 +typescript@4.9.4 +underscore@1.0.12 url@1.3.2 -webapp@1.13.1 -webapp-hashing@1.1.0 +webapp@1.13.4 +webapp-hashing@1.1.1 diff --git a/imports/ui/pages/Admin/AssetTypes.jsx b/imports/ui/pages/Admin/AssetTypes.jsx index a121814..5908aef 100644 --- a/imports/ui/pages/Admin/AssetTypes.jsx +++ b/imports/ui/pages/Admin/AssetTypes.jsx @@ -42,9 +42,9 @@ const AssetTypeEditor = ({value, close}) => { close() //TODO Should invert this and only close if there was success on the server. if(value._id) - Meteor.call("assetType.update", value._id, name, description, year); + Meteor.call("assetTypes.update", value._id, name, description, year); else - Meteor.call("assetType.add", name, description, year); + Meteor.call("assetTypes.add", name, description, year); } const rejectChanges = () => { close() @@ -59,7 +59,7 @@ const AssetTypeEditor = ({value, close}) => {