Web: import moment.js in a way Tabulator can find
This commit is contained in:
parent
06bf3c0482
commit
9ec39b0b41
@ -18,6 +18,11 @@ import "bootstrap-vue/dist/bootstrap-vue.css";
|
||||
let flamencoManager = require('flamenco-manager');
|
||||
let apiClient = new flamencoManager.ApiClient(URLs.api);
|
||||
|
||||
// Ensure Tabulator can find `moment`, which it needs for sorting by
|
||||
// date/time/datetime.
|
||||
import moment from 'moment';
|
||||
window.moment = moment;
|
||||
|
||||
// let query = new flamencoManager.JobsQuery();
|
||||
// // query.status_in = ["active"];
|
||||
// query.metadata = {project: "Heist"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user