diff --git a/app/views/console/database/collection.phtml b/app/views/console/database/collection.phtml index 9ed23dbbf..549bccb4e 100644 --- a/app/views/console/database/collection.phtml +++ b/app/views/console/database/collection.phtml @@ -63,16 +63,18 @@ $logs = $this->getParam('logs', null); - + -
- + + + []
+ n/a diff --git a/app/views/console/database/document.phtml b/app/views/console/database/document.phtml index c21e12d6b..80937c989 100644 --- a/app/views/console/database/document.phtml +++ b/app/views/console/database/document.phtml @@ -60,9 +60,9 @@ $logs = $this->getParam('logs', null); data-name="project-document" data-scope="sdk" data-event="submit" - data-success="alert,trigger" - data-success-param-alert-text="Updated document successfully" + data-success="trigger,redirect" data-success-param-trigger-events="database.updateDocument" + data-success-param-redirect-url="/console/database/document?id={{serviceData.$id}}&collection={{project-collection.$id}}&project={{router.params.project}}" data-failure="alert" data-failure-param-alert-text="Failed to update document" data-failure-param-alert-classname="error"> @@ -86,7 +86,7 @@ $logs = $this->getParam('logs', null);
    -
  • +