@konfuzio/document-validation-ui 0.2.3-dev.0 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/app.js +1 -1
- package/dist/js/app.js.map +1 -1
- package/package.json +1 -1
- package/src/components/App.vue +3 -1
package/package.json
CHANGED
package/src/components/App.vue
CHANGED
|
@@ -195,7 +195,9 @@ export default {
|
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
showDocumentsNavigation() {
|
|
198
|
-
if (
|
|
198
|
+
if (this.isPublicView) {
|
|
199
|
+
return false;
|
|
200
|
+
} else if (process.env.VUE_APP_SHOW_DOCUMENTS_NAVIGATION) {
|
|
199
201
|
return process.env.VUE_APP_SHOW_DOCUMENTS_NAVIGATION === "true";
|
|
200
202
|
} else {
|
|
201
203
|
return this.show_documents_navigation === "true";
|