DASISH / qddt-client

DASISH Task 3.2 - Front end web app for QDDT
https://qddt-test.nsd.no/
GNU General Public License v3.0
7 stars 3 forks source link

Fix revision mapping in controls #769

Open StigNorland opened 2 years ago

StigNorland commented 2 years ago

In every form and view there are components that load data from server. These components have wrong mappings, find and update to correct mappings.

the components in question are under these paths.

\qddt-client\src\app\modules\selectors \qddt-client\src\app\modules\selectors-dialog

StigNorland commented 2 years ago
 this.service.getRevisions(this.getElementKind(), this.current.id).then(
      (result: any) => {
        this.revisions = result._embedded.halRepresentationModels;
        this.showProgressBar = false;
      },

In this example _embedded.halRepresentationModels is the new json path that needs to be inserted

StigNorland commented 2 years ago

image And another example