Sync branch magefile with main #104308

Merged
Sybren A. Stüvel merged 85 commits from abelli/flamenco:magefile into magefile 2024-05-13 16:26:32 +02:00
3 changed files with 3 additions and 4 deletions
Showing only changes of commit 91890541a2 - Show all commits

View File

@ -88,7 +88,7 @@ export default {
classList.toggle('deletion-requested', !!data.delete_requested_at);
},
initialSort: [{ column: 'updated', dir: 'desc' }],
layout: 'fitData',
layout: 'fitDataFill',
layoutColumnsOnNewData: true,
height: '720px', // Must be set in order for the virtual DOM to function correctly.
data: [], // Will be filled via a Flamenco API request.

View File

@ -85,7 +85,7 @@ export default {
row.getElement().classList.toggle('active-row', isActive);
},
initialSort: [{ column: 'updated', dir: 'desc' }],
layout: 'fitData',
layout: 'fitDataFill',
layoutColumnsOnNewData: true,
height: '100%', // Must be set in order for the virtual DOM to function correctly.
maxHeight: '100%',

View File

@ -73,7 +73,7 @@ export default {
row.getElement().classList.toggle('active-row', isActive);
},
initialSort: [{ column: 'name', dir: 'asc' }],
layout: 'fitData',
layout: 'fitDataFill',
layoutColumnsOnNewData: true,
height: '360px', // Must be set in order for the virtual DOM to function correctly.
data: [], // Will be filled via a Flamenco API request.
@ -129,7 +129,6 @@ export default {
onWorkersFetched(data) {
this.tabulator.setData(data.workers);
this._refreshAvailableStatuses();
this.recalcTableHeight();
},
processWorkerUpdate(workerUpdate) {