mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 12:56:24 -05:00
Fixing console errors.
This commit is contained in:
parent
e5b2135cb2
commit
5fc99a6dda
3 changed files with 4 additions and 12 deletions
|
|
@ -1,12 +1,4 @@
|
|||
import {
|
||||
API_URI,
|
||||
ARCHIVES_API,
|
||||
DEFAULT_LIMIT,
|
||||
emptyToNull,
|
||||
OTP_API,
|
||||
secondsToDateTime,
|
||||
VIDEOS_API
|
||||
} from "./components/Common";
|
||||
import {API_URI, ARCHIVES_API, DEFAULT_LIMIT, emptyToNull, OTP_API, VIDEOS_API} from "./components/Common";
|
||||
import {toast} from 'react-semantic-toasts';
|
||||
|
||||
function timeoutPromise(ms, promise) {
|
||||
|
|
@ -472,7 +464,7 @@ const replaceFileDatetimes = (files) => {
|
|||
for (let i = 0; i < files.length; i++) {
|
||||
let file = files[i];
|
||||
if (file['modified']) {
|
||||
files[i]['modified'] = secondsToDateTime(file['modified']);
|
||||
files[i]['modified'] = file['modified'] * 1000;
|
||||
}
|
||||
}
|
||||
return files;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue