Skip to content
Snippets Groups Projects
Commit 1e2ed56c authored by Ramesh Kumar's avatar Ramesh Kumar Committed by Ramesh Kumar
Browse files

TMSS-309: Issue in loading timeline on date selection in Firefox is fixed

parent a69ea20f
No related branches found
No related tags found
2 merge requests!263Resolve TMSS-309,!260syncing cob-master with master again
......@@ -731,8 +731,8 @@ export class CalendarTimeline extends Component {
if (value) {
// Set all values only when both range values available in the array else just set the value to reflect in the date selection component
if (value[1]!==null) {
startDate = moment.utc(moment(value[0]).format("DD-MMM-YYYY"));
endDate = moment.utc(moment(value[1]).format("DD-MMM-YYYY 23:59:59"));
startDate = moment.utc(moment(value[0]).format("YYYY-MM-DD"));
endDate = moment.utc(moment(value[1]).format("YYYY-MM-DD 23:59:59"));
let dayHeaderVisible = this.state.dayHeaderVisible;
let weekHeaderVisible = this.state.weekHeaderVisible;
let lstDateHeaderUnit = this.state.lstDateHeaderUnit;
......
......@@ -77,7 +77,7 @@ export class TimelineView extends Component {
const suBlueprint = _.find(suBlueprints, {'id': suBlueprintId});
suBlueprint['actionpath'] = `/schedulingunit/view/blueprint/${suBlueprintId}`;
suBlueprint.suDraft = suDraft;
suBlueprint.project = project.name;
suBlueprint.project = project;
suBlueprint.suSet = suSet;
suBlueprint.durationInSec = suBlueprint.duration;
suBlueprint.duration = UnitConverter.getSecsToHHmmss(suBlueprint.duration);
......@@ -249,7 +249,7 @@ export class TimelineView extends Component {
data={this.state.suBlueprintList}
defaultcolumns={[{name: "Name",
start_time:"Start Time", stop_time:"End Time"}]}
optionalcolumns={[{project:"Project",description: "Description", duration:"Duration (HH:mm:ss)", actionpath: "actionpath"}]}
optionalcolumns={[{description: "Description", duration:"Duration (HH:mm:ss)", actionpath: "actionpath"}]}
columnclassname={[{"Start Time":"filter-input-50", "End Time":"filter-input-50",
"Duration (HH:mm:ss)" : "filter-input-50",}]}
defaultSortColumn= {[{id: "Start Time", desc: false}]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment