Skip to content

Commit

Permalink
https://github.com/steedos/steedos-platform/issues/5269
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Aug 8, 2023
1 parent 3f9ddfa commit 3844a8b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion creator/packages/steedos-creator/client/router.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,11 @@ objectRoutes.route '/view/:record_id',
main: main
regions: regions
, 10

triggersExit: [
(context, redirect) ->
if (context.params?.object_name == 'instances' && context.queryParams?.side_listview_id == 'draft') || (context.params?.object_name == 'instance_tasks' && context.queryParams?.side_listview_id == 'inbox')
InstanceManager.saveIns();
]
objectRoutes.route '/grid/:list_view_id',
action: (params, queryParams)->
Session.set("record_id", null)
Expand Down

0 comments on commit 3844a8b

Please sign in to comment.