From 88f954b43766ac37f7d988222fcfd51f1f0ac832 Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Thu, 1 Dec 2016 13:18:22 -0800 Subject: [PATCH] [MyItems] Load via static model provider Define a model for my items to be used when the model is not found in a storage provider. Fixes https://github.com/nasa/openmct/issues/1284 --- platform/features/my-items/bundle.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/platform/features/my-items/bundle.js b/platform/features/my-items/bundle.js index 42b66ad3b4..453c655c07 100644 --- a/platform/features/my-items/bundle.js +++ b/platform/features/my-items/bundle.js @@ -31,12 +31,18 @@ define([ "description": "Defines a root named My Items", "extensions": { "roots": [ + { + "id": "mine", + } + ], + "models": [ { "id": "mine", "model": { "name": "My Items", "type": "folder", - "composition": [] + "composition": [], + "location": "ROOT" } } ]