@konfuzio/document-validation-ui 0.1.43-dev.2 → 0.1.43-dev.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konfuzio/document-validation-ui",
3
- "version": "0.1.43-dev.2",
3
+ "version": "0.1.43-dev.3",
4
4
  "repository": "git://github.com:konfuzio-ai/document-validation-ui.git",
5
5
  "main": "dist/app.js",
6
6
  "scripts": {
@@ -430,8 +430,7 @@ export default {
430
430
 
431
431
  const redirection = navigateToDocumentsList(
432
432
  this.documentsListPath,
433
- this.projectId,
434
- this.currentUser.id
433
+ this.projectId
435
434
  );
436
435
 
437
436
  if (redirection) {
@@ -60,7 +60,7 @@ export function navigateToNewDocumentURL(oldId, newId) {
60
60
  window.location.replace(newUrl);
61
61
  }
62
62
 
63
- export function navigateToDocumentsList(path, projectId, userId) {
63
+ export function navigateToDocumentsList(path, projectId) {
64
64
  if (!path) return;
65
65
 
66
66
  const lastCharOfString = path.charAt(path.length - 1);
@@ -70,7 +70,7 @@ export function navigateToDocumentsList(path, projectId, userId) {
70
70
  slash = "";
71
71
  }
72
72
 
73
- const parameters = `?project=${projectId}&is_reviewed__exact=0&assignee__id__exact=${userId}`;
73
+ const parameters = `?project=${projectId}`;
74
74
 
75
75
  const newPath = `${path}${slash}${parameters}`;
76
76