client/public/elements/pages/work/rp-page-work.js
/**
   * @method doUpdate
   * @param {Object} state
   * @description collects the path and set the location to the
   * work path, then performs the MainQuery with assetId, this will rerender
   */
@method doUpdate
@param {Object} state
@description collects the path and set the location to the
work path, then performs the MainQuery with assetId, this will rerender
@method doUpdate @param { Object } state @description collects the path and set the location to the work path then performs the MainQuery with assetId this will rerender
async doUpdate(state) {
    if( state.page !== 'work' ) return; 
    this.assetId = state.location.path.join('/');
    if ( !this.assetId ) return;
    this._setActiveSection(state.location.hash);
    await Promise.all([
      this._doMainQuery(this.assetId)
    ]);
  }
async doUpdate ( state ) { if ( state . page !== 'work' ) return ; this . assetId = state . location . path . join ( '/' ) ; if ( ! this . assetId ) return ; this . _setActiveSection ( state . location . hash ) ; await Promise . all ( [ this . _doMainQuery ( this . assetId ) ] ) ; }
@method doUpdate
 @param {Object} state
 @description collects the path and set the location to the
 work path, then performs the MainQuery with assetId, this will rerender
@method doUpdate @param { Object } state @description collects the path and set the location to the work path then performs the MainQuery with assetId this will rerender