mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-17 20:03:59 +00:00
Revised naming of lastModified to lastModifiedString to differentiate from Api response naming
This commit is contained in:
parent
dbfcb94724
commit
f113c0d676
@ -23,7 +23,7 @@ export default class DatasetSchemaContainer extends Component {
|
|||||||
* Stores the last modified date on the dataset schema as an utc time string
|
* Stores the last modified date on the dataset schema as an utc time string
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
lastModified: string;
|
lastModifiedString: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of schema properties for the dataset
|
* List of schema properties for the dataset
|
||||||
@ -52,6 +52,6 @@ export default class DatasetSchemaContainer extends Component {
|
|||||||
schemas = augmentObjectsWithHtmlComments(columns);
|
schemas = augmentObjectsWithHtmlComments(columns);
|
||||||
json || (json = '{}');
|
json || (json = '{}');
|
||||||
|
|
||||||
setProperties(this, { schemas, json, lastModified: lastModifiedString });
|
setProperties(this, { schemas, json, lastModifiedString });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{{dataset-schema
|
{{dataset-schema
|
||||||
json=json
|
json=json
|
||||||
schemas=schemas
|
schemas=schemas
|
||||||
lastModified=lastModified
|
lastModified=lastModifiedString
|
||||||
}}
|
}}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user