From 1ec57416c80d939f26bf88595ae2053ed9378d3e Mon Sep 17 00:00:00 2001 From: Peter Teixeira Date: Thu, 20 Apr 2017 16:29:17 -0400 Subject: [PATCH] Write files in subdirectories to splat path When the page was loaded the first time, the call to get the files to the directory wasn't being called with the directory splat. It was therefore always fetching the files from the top-level directory. When linked to the top level directory, this wasn't notable, but links into the subdirectory of the file browser would seem as if the directory was empty until going back to the root directory. --- SingularityUI/app/components/taskDetail/TaskDetail.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SingularityUI/app/components/taskDetail/TaskDetail.jsx b/SingularityUI/app/components/taskDetail/TaskDetail.jsx index eb660cbc57..e5fb22db6d 100644 --- a/SingularityUI/app/components/taskDetail/TaskDetail.jsx +++ b/SingularityUI/app/components/taskDetail/TaskDetail.jsx @@ -520,4 +520,4 @@ function mapDispatchToProps(dispatch) { }; } -export default connect(mapStateToProps, mapDispatchToProps)(rootComponent(withRouter(TaskDetail), (props) => refresh(props.params.taskId), true, true, null, (props) => onLoad(props.params.taskId))); +export default connect(mapStateToProps, mapDispatchToProps)(rootComponent(withRouter(TaskDetail), (props) => refresh(props.params.taskId, props.params.splat), true, true, null, (props) => onLoad(props.params.taskId)));