Skip to content

Commit 13df628

Browse files
committed
nuking clone
1 parent 101d058 commit 13df628

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

packages/tdb-dashboard/src/components/AboutDataProduct.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const AboutDataProduct = ({dataProductDetails, setShowDeleteModal, health
7474
window.location.replace(`/${orgName}/${dbName}`)
7575
}
7676
}
77-
77+
7878
return <React.Fragment>
7979

8080
<HealthModal dataProduct={dataProduct} showHealth={showHealth} setShowHealth={setShowHealth}/>
@@ -133,7 +133,8 @@ export const AboutDataProduct = ({dataProductDetails, setShowDeleteModal, health
133133
</Card.Body>
134134
</Card>
135135
<hr className="my-4 border-indigo dropdown-divider" role="separator"></hr>
136-
<Card className="bg-transparent p-1 mt-5" border="muted">
136+
{/** COMMENT THE BELOW code FOR NOW, will put back once clone is fixed */}
137+
{/*<Card className="bg-transparent p-1 mt-5" border="muted">
137138
<Card.Body>
138139
{!loadingClone && accessControlDashboard && accessControlDashboard.deleteDB() &&
139140
<Fragment>
@@ -171,7 +172,7 @@ export const AboutDataProduct = ({dataProductDetails, setShowDeleteModal, health
171172
{loadingClone &&
172173
<Loading message={`Cloning .... ${dataProduct}`} type={'PROGRESS_BAR_COMPONENT'}/>}
173174
</Card.Body>
174-
</Card>
175+
</Card>*/}
175176

176177
<hr className="my-4 border-indigo dropdown-divider" role="separator"></hr>
177178
<Card className="bg-transparent p-1 " border="muted">

packages/tdb-dashboard/src/components/NoDataProductSelected.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@ export const NoDataProductSelected = (props) => {
6363

6464
}
6565

66+
return <main className="content w-100">
67+
<Container className="center-align col-md-10">
68+
<Card className="h-100">
69+
<Card.Body>
70+
<img src="https://assets.terminusdb.com/images/terminusx-color.png"
71+
className="logo-img mb-3"
72+
style={{height:"150px"}}/>
73+
<h5 className="text-light fw-bold"> No Data Product chosen yet</h5>
74+
<h6 className="text-light fw-bold">Please use the side bar to select a Data Product</h6>
75+
</Card.Body>
76+
</Card>
77+
</Container>
78+
</main>
79+
80+
/** COMMENT THE BELOW code FOR NOW, will put back once clone is fixed */
6681
return <main className="content w-100">
6782

6883
<Container className="center-align col-md-10">

packages/tdb-documents-ui/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
"lint": "eslint src",
1616
"autofix": "eslint src --fix",
1717
"cypress": "npx cypress open",
18-
"test": "react-scripts test -- --config=jest.config.js"
18+
"test": "react-scripts test"
1919
},
20+
"jest": { "transformIgnorePatterns": [ "<rootDir>/node_modules/(?!react-dnd|dnd-core|@react-dnd)" ] },
2021
"repository": {
2122
"type": "git",
2223
"url": "git+https://github.com/terminusdb/terminusdb-documents-ui.git"

0 commit comments

Comments
 (0)