Skip to content

Commit 93a5e78

Browse files
committed
increment version to 6.0.10 and fix search workflow
1 parent c62d12f commit 93a5e78

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/tdb-access-control-component/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminusdb-access-control-component",
3-
"version": "6.2.4",
3+
"version": "6.0.10",
44
"description": "Table for terminusdb",
55
"main": "src/index",
66
"module": "es6/index",

packages/tdb-dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb-live/tdb-dashboard",
3-
"version": "6.2.4",
3+
"version": "6.0.10",
44
"description": "react",
55
"homepage": "./",
66
"main": "src/index",

packages/tdb-dashboard/src/pages/DocumentView.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import '@terminusdb/terminusdb-documents-ui/dist/css/terminusdb__darkly.css'
1212

1313
export const DocumentView = () => {
1414
const { branch,setChangeRequestBranch,woqlClient,currentChangeRequest,useChangeRequest} = WOQLClientObj()
15-
const {type, docid} = useParams()
15+
const {type, docid,organization,dataProduct} = useParams()
1616
const [showCRModal, setShowCRModal] = useState(false)
1717
const [showDeleteModal, setShowDeleteModal]=useState(false)
1818
const navigate = useNavigate()
@@ -75,9 +75,9 @@ export const DocumentView = () => {
7575
}
7676

7777
const navigatePreviewPage =()=>{
78-
let previewPage = -1
78+
let previewPage = `/${organization}/${dataProduct}/documents/${type}`
7979
let options = {}
80-
if(location.state && location.state.previewPagePathname){
80+
if(!currentChangeRequest && location.state && location.state.previewPagePathname){
8181
previewPage= location.state.previewPagePathname
8282
if(location.state.previewPage === "search"){
8383
options = {state:{previewPage:"documentView",currentDocument:documentID}}

packages/tdb-documents-ui-template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminusdb-documents-ui-template",
3-
"version": "6.2.6",
3+
"version": "6.0.10",
44
"description": "SDK to build Application from terminusdb documents",
55
"main": "src/index.js",
66
"module": "es6/index.js",

packages/tdb-documents-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminusdb-documents-ui",
3-
"version": "6.2.5",
3+
"version": "6.0.10",
44
"description": "SDK to build UI from terminusdb documents",
55
"main": "src/index.js",
66
"module": "es6/index",

packages/tdb-react-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb-live/tdb-react-components",
3-
"version": "6.2.4",
3+
"version": "6.0.10",
44
"description": "components tools for terminusdb",
55
"main": "src/index",
66
"module": "es6/index",

packages/tdb-react-table/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminusdb-react-table",
3-
"version": "6.2.5",
3+
"version": "6.0.10",
44
"description": "Table for terminusdb",
55
"main": "src/index",
66
"module": "es6/index",

0 commit comments

Comments
 (0)