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