Skip to content

Commit

Permalink
Removed log statements and re-added page_id in taskpane to facilitate…
Browse files Browse the repository at this point in the history
… settings saves
  • Loading branch information
AndrewPhilbin committed Aug 11, 2023
1 parent e159934 commit 5412583
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export const WithFilterCriteria = function(WrappedComponent, ignoreURL = true,
// We need to update the saved filter string with the new criteria
// along with local state.
if(this.props.saveCurrentSearchFilters) {
console.log('savecurrentsearchfilters ran')
this.props.saveCurrentSearchFilters('taskBundleFilters', criteria)
}
}
Expand Down Expand Up @@ -227,7 +226,6 @@ export const WithFilterCriteria = function(WrappedComponent, ignoreURL = true,
}

componentDidMount() {

if(this.props.savedFilters && this.props.savedFilters['taskBundleFilters']) {
this.updateCriteriaFromSavedFilters(this.props.savedFilters['taskBundleFilters'])
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export default function WithFilteredClusteredTasks(WrappedComponent,
filteredTasks: {tasks: []},
})



/**
* Toggle filtering on or off for the given task status
*/
Expand Down
2 changes: 2 additions & 0 deletions src/components/TaskPane/TaskPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import messages from './Messages'
const MobileTabBar = WithCurrentUser(MobileTaskDetails)

const WIDGET_WORKSPACE_NAME = "taskCompletion"
const PAGE_ID = "TaskPane"

// How frequently the task lock should be refreshed
const LOCK_REFRESH_INTERVAL = 600000 // 10 minutes
Expand Down Expand Up @@ -394,6 +395,7 @@ export class TaskPane extends Component {
completionResponses={completionResponses}
needsResponses={this.state.needsResponses}
templateRevision={isCompletionStatus(this.props.task.status)}
pageId={PAGE_ID}
/>
{this.state.completingTask && this.state.completingTask === this.props.task.id &&
<div
Expand Down

0 comments on commit 5412583

Please sign in to comment.