This commit is contained in:
parent
ef81e33f70
commit
79121168e4
@ -20,9 +20,7 @@
|
||||
>
|
||||
<clr-datagrid>
|
||||
<ng-container *ngFor="let col of tab.colsToDisplay">
|
||||
<clr-dg-column
|
||||
>{{ col.colName || col.colKey }}</clr-dg-column
|
||||
>
|
||||
<clr-dg-column>{{ col.colName || col.colKey }}</clr-dg-column>
|
||||
</ng-container>
|
||||
|
||||
<clr-dg-row
|
||||
|
@ -54,10 +54,7 @@ export class DatasetInfoComponent implements OnInit, OnChanges {
|
||||
this.dsmetaTabs.push({
|
||||
name: info.ODS_TABLE,
|
||||
title: 'Dataset Meta',
|
||||
colsToDisplay: [
|
||||
{colKey: 'NAME'},
|
||||
{colKey: 'VALUE'}
|
||||
],
|
||||
colsToDisplay: [{ colKey: 'NAME' }, { colKey: 'VALUE' }],
|
||||
meta: [],
|
||||
onRowClick: (value: DSMeta) => {
|
||||
this.rowClicked.emit(value)
|
||||
@ -74,13 +71,13 @@ export class DatasetInfoComponent implements OnInit, OnChanges {
|
||||
name: 'VERSIONS',
|
||||
title: 'Dataset Meta',
|
||||
colsToDisplay: [
|
||||
{colKey: 'LOAD_REF'},
|
||||
{colKey: 'USER_NM'},
|
||||
{colKey: 'VERSION_DTTM'},
|
||||
{colKey: 'NEW_RECORDS', colName: 'ADD'},
|
||||
{colKey: 'CHANGED_RECORDS', colName: 'MOD'},
|
||||
{colKey: 'DELETED_RECORDS', colName: 'DEL'},
|
||||
{colKey: 'VERSION_DESC'}
|
||||
{ colKey: 'LOAD_REF' },
|
||||
{ colKey: 'USER_NM' },
|
||||
{ colKey: 'VERSION_DTTM' },
|
||||
{ colKey: 'NEW_RECORDS', colName: 'ADD' },
|
||||
{ colKey: 'CHANGED_RECORDS', colName: 'MOD' },
|
||||
{ colKey: 'DELETED_RECORDS', colName: 'DEL' },
|
||||
{ colKey: 'VERSION_DESC' }
|
||||
],
|
||||
meta: this.versions,
|
||||
onRowClick: (value: Version) => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
export interface Tab<T>{
|
||||
export interface Tab<T> {
|
||||
name: string
|
||||
title: string
|
||||
/**
|
||||
|
@ -56,7 +56,6 @@
|
||||
<div class="card-title text-center">Actions</div>
|
||||
</div>
|
||||
<div class="mt-20">
|
||||
|
||||
<div class="row">
|
||||
<button
|
||||
class="btn btn-sm btn-outline text-center mt-20"
|
||||
@ -97,13 +96,11 @@
|
||||
REVERT (Coming Soon)
|
||||
|
||||
<clr-tooltip-content
|
||||
clrPosition="bottom-right"
|
||||
clrSize="lg"
|
||||
*clrIfOpen
|
||||
clrPosition="bottom-right"
|
||||
clrSize="lg"
|
||||
*clrIfOpen
|
||||
>
|
||||
<span>
|
||||
Revert this and all subsequent changes
|
||||
</span>
|
||||
<span> Revert this and all subsequent changes </span>
|
||||
</clr-tooltip-content>
|
||||
</button>
|
||||
</clr-tooltip>
|
||||
|
Loading…
Reference in New Issue
Block a user