Browse Source

Fix default column

pull/1/head
Wahyu Ramadhan 1 year ago
parent
commit
5cd832f542
  1. 4
      edit-mode/function/function.js

4
edit-mode/function/function.js

@ -339,7 +339,7 @@ function initializationColumn() {
if (data.status == "not yet have") {
addShowHideColumn();
} else if (data.status == "not have access") {
gantt.config.columns = createColumnsConfig(columnShows);
} else {
setUpForShowHideColumn(data);
}
@ -513,7 +513,7 @@ function submitShowHideColumn(allColumn) {
version_gantt_id: ganttId,
columns: allColumn
}
gantt.config.columns = createColumnsConfig(allColumn);
$.ajax({
data: JSON.stringify(payload),
url: `${base_url}gantt-show-hide/add`,

Loading…
Cancel
Save