Fix #8910 UI : Add owner is not working for table entity. (#8911)

This commit is contained in:
Sachin Chaurasiya 2022-11-21 15:28:04 +05:30 committed by GitHub
parent 5f358c3b65
commit e24d07f0bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -456,10 +456,11 @@ const DatasetDetails: React.FC<DatasetDetailsProps> = ({
const onOwnerUpdate = (newOwner?: Table['owner']) => {
if (newOwner) {
const existingOwner = tableDetails.owner;
const updatedTableDetails = {
...tableDetails,
owner: {
...tableDetails.owner,
...existingOwner,
...newOwner,
},
};

View File

@ -313,7 +313,8 @@
"add-workflow-ingestion": "Add {{workflow}} Ingestion",
"clearAll": "Clear All",
"view-less": "View less",
"view-more": "View more"
"view-more": "View more",
"column-plural": "Columns"
},
"message": {
"service-email-required": "Service account Email is required",

View File

@ -560,7 +560,7 @@ const DatasetDetailsPage: FunctionComponent = () => {
setCurrentVersion(version + '');
setTableDetails((previous) => ({
...previous,
owner,
...(owner ? { owner } : {}),
version,
tags,
}));