Merge pull request #7274 from opf/fix/30146/relation-columns-expand-state

[30146] Remember relation columns expand state
pull/7276/head
Henriette Dinger 6 years ago committed by GitHub
commit 80a8459c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      frontend/src/app/components/wp-fast-table/state/wp-table-relation-columns.service.ts

@ -47,6 +47,7 @@ import {Injectable} from '@angular/core';
import {QueryResource} from 'core-app/modules/hal/resources/query-resource';
import {HalResourceService} from 'core-app/modules/hal/services/hal-resource.service';
import {RelationResource} from 'core-app/modules/hal/resources/relation-resource';
import {WorkPackageTableHierarchies} from "core-components/wp-fast-table/wp-table-hierarchies";
export type RelationColumnType = 'toType'|'ofType';
@ -65,7 +66,9 @@ export class WorkPackageTableRelationColumnsService extends WorkPackageTableBase
}
public valueFromQuery(query:QueryResource):WorkPackageTableRelationColumns {
return {};
// Take over current expanded values
// which are not yet saved
return this.current;
}
/**

Loading…
Cancel
Save