fromModelKey(modelKey) {
          if (!modelKey) return {};

          let applet = ctx.store.state.app.applets.find(item => item.primaryModel === modelKey);
          return applet ? applet : {};
        }
/**
         * Given a model key return the corresponding applet object for which the model is configured as the primary model, if any
         * @param {string} modelKey Model key
         */
Given a model key return the corresponding applet object for which the model is configured as the primary model, if any
@param {string} modelKey Model key
Given a model key return the corresponding applet object for which the model is configured as the primary model if any @param { string } modelKey Model key
fromModelKey(modelKey) {
          if (!modelKey) return {};
          let applet = ctx.store.state.app.applets.find(item => item.primaryModel === modelKey);
          return applet ? applet : {};
        }
fromModelKey ( modelKey ) { if ( ! modelKey ) return { } ; let applet = ctx . store . state . app . applets . find ( item => item . primaryModel === modelKey ) ; return applet ? applet : { } ; }
Given a model key return the corresponding applet object for which the model is configured as the primary model, if any
 @param {string} modelKey Model key
Given a model key return the corresponding applet object for which the model is configured as the primary model if any @param { string } modelKey Model key