viewer/vueapp/src/components/users/UserService.js
/**
   * Adds the name as a property on a view (instead of just key)
   * @param {object} views    The object containing view objects
   * @returns {object} views  The object containing views, now with name
   *                          properties on each view object
   */
Adds the name as a property on a view (instead of just key)
@param {object} views    The object containing view objects
@returns {object} views  The object containing views, now with name
properties on each view object
Adds the name as a property on a view ( instead of just key ) @param { object } views The object containing view objects @returns { object } views The object containing views now with name properties on each view object
parseViews (views) {
    for (const viewName in views) {
      views[viewName].name = viewName;
    }
    return views;
  }
parseViews ( views ) { for ( const viewName in views ) { views [ viewName ] . name = viewName ; } return views ; }
Adds the name as a property on a view (instead of just key)
 @param {object} views    The object containing view objects
 @returns {object} views  The object containing views, now with name
                          properties on each view object
Adds the name as a property on a view ( instead of just key ) @param { object } views The object containing view objects @returns { object } views The object containing views now with name properties on each view object