Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fagubla committed Oct 6, 2023
1 parent 3ea4fa4 commit 082e3c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
27 changes: 0 additions & 27 deletions src/components/renderer/form-list-table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export default {
}
},
populateFields(option) {
debugger;
this.fields = [];
if (option === this.$t("My Tasks")) {
this.callAPI("/tasks");
Expand All @@ -92,32 +91,6 @@ export default {
if (option === this.$t("Start new Request")) {
this.callAPI("/start_processes");
}
/* this.$nextTick(() => {
this.$refs.vuetable.normalizeFields();
}); */
},
getColumns() {
const columns = [
{
label: "Task",
field: "task",
sortable: true,
default: true
},
{
label: "Request",
field: "request",
sortable: true,
default: true
},
{
label: "Due",
field: "due_at",
sortable: true,
default: true
}
];
return columns;
}
}
};
Expand Down
14 changes: 0 additions & 14 deletions src/components/renderer/form-requests.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,6 @@ export default {
title: () => this.$t("Status")
});
/* this.fields.push({
name: "__slot:dueDate",
field: "dueDate",
title: () => this.$t("Due")
});
this.fields.push({
name: "__slot:preview",
title: ""
}); */
this.fields.push({
name: "__slot:actions",
title: ""
Expand Down Expand Up @@ -179,9 +168,6 @@ export default {
label = "In Progress";
}
return { color, label };
/* return `<i class="fas fa-circle text-${color}"></i> <span>${this.$t(
label
)}</span>`; */
},
openRequest(data, index) {
return `/requests/${data.id}`;
Expand Down

0 comments on commit 082e3c0

Please sign in to comment.