Web: remove job/task ID column from table

This commit is contained in:
Sybren A. Stüvel 2022-05-11 15:03:40 +02:00
parent cc10d3e4bb
commit 1f76c3bc64
2 changed files with 2 additions and 8 deletions

View File

@ -27,10 +27,7 @@ export default {
// See pkg/api/flamenco-manager.yaml, schemas Job and JobUpdate. // See pkg/api/flamenco-manager.yaml, schemas Job and JobUpdate.
columns: [ columns: [
// { formatter: "rowSelection", titleFormatter: "rowSelection", hozAlign: "center", headerHozAlign: "center", headerSort: false }, // { formatter: "rowSelection", titleFormatter: "rowSelection", hozAlign: "center", headerHozAlign: "center", headerSort: false },
{ // { title: "ID", field: "id", headerSort: false, formatter: (cell) => cell.getData().id.substr(0, 8), },
title: "ID", field: "id", headerSort: false,
formatter: (cell) => cell.getData().id.substr(0, 8),
},
{ {
title: 'Status', field: 'status', sorter: 'string', title: 'Status', field: 'status', sorter: 'string',
formatter(cell, formatterParams) { // eslint-disable-line no-unused-vars formatter(cell, formatterParams) { // eslint-disable-line no-unused-vars

View File

@ -29,10 +29,7 @@ export default {
// See pkg/api/flamenco-manager.yaml, schemas Task and TaskUpdate. // See pkg/api/flamenco-manager.yaml, schemas Task and TaskUpdate.
columns: [ columns: [
// { formatter: "rowSelection", titleFormatter: "rowSelection", hozAlign: "center", headerHozAlign: "center", headerSort: false }, // { formatter: "rowSelection", titleFormatter: "rowSelection", hozAlign: "center", headerHozAlign: "center", headerSort: false },
{ // { title: "ID", field: "id", headerSort: false, formatter: (cell) => cell.getData().id.substr(0, 8), },
title: "ID", field: "id", headerSort: false,
formatter: (cell) => cell.getData().id.substr(0, 8),
},
{ {
title: 'Status', field: 'status', sorter: 'string', title: 'Status', field: 'status', sorter: 'string',
formatter(cell, formatterParams) { // eslint-disable-line no-unused-vars formatter(cell, formatterParams) { // eslint-disable-line no-unused-vars