Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/tdb-access-control-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terminusdb/terminusdb-access-control-component",
"version": "6.2.4",
"version": "6.0.10",
"description": "Table for terminusdb",
"main": "src/index",
"module": "es6/index",
Expand Down
2 changes: 1 addition & 1 deletion packages/tdb-dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terminusdb-live/tdb-dashboard",
"version": "6.2.4",
"version": "6.0.10",
"description": "react",
"homepage": "./",
"main": "src/index",
Expand Down
6 changes: 3 additions & 3 deletions packages/tdb-dashboard/src/pages/DocumentView.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import '@terminusdb/terminusdb-documents-ui/dist/css/terminusdb__darkly.css'

export const DocumentView = () => {
const { branch,setChangeRequestBranch,woqlClient,currentChangeRequest,useChangeRequest} = WOQLClientObj()
const {type, docid} = useParams()
const {type, docid,organization,dataProduct} = useParams()
const [showCRModal, setShowCRModal] = useState(false)
const [showDeleteModal, setShowDeleteModal]=useState(false)
const navigate = useNavigate()
Expand Down Expand Up @@ -75,9 +75,9 @@ export const DocumentView = () => {
}

const navigatePreviewPage =()=>{
let previewPage = -1
let previewPage = `/${organization}/${dataProduct}/documents/${type}`
let options = {}
if(location.state && location.state.previewPagePathname){
if(!currentChangeRequest && location.state && location.state.previewPagePathname){
previewPage= location.state.previewPagePathname
if(location.state.previewPage === "search"){
options = {state:{previewPage:"documentView",currentDocument:documentID}}
Expand Down
2 changes: 1 addition & 1 deletion packages/tdb-documents-ui-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terminusdb/terminusdb-documents-ui-template",
"version": "6.2.6",
"version": "6.0.10",
"description": "SDK to build Application from terminusdb documents",
"main": "src/index.js",
"module": "es6/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/tdb-documents-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terminusdb/terminusdb-documents-ui",
"version": "6.2.5",
"version": "6.0.10",
"description": "SDK to build UI from terminusdb documents",
"main": "src/index.js",
"module": "es6/index",
Expand Down
2 changes: 1 addition & 1 deletion packages/tdb-react-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terminusdb-live/tdb-react-components",
"version": "6.2.4",
"version": "6.0.10",
"description": "components tools for terminusdb",
"main": "src/index",
"module": "es6/index",
Expand Down
2 changes: 1 addition & 1 deletion packages/tdb-react-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@terminusdb/terminusdb-react-table",
"version": "6.2.5",
"version": "6.0.10",
"description": "Table for terminusdb",
"main": "src/index",
"module": "es6/index",
Expand Down