Fix web app views when using new backend
This commit is contained in:
1 parent
51fa4c0540
commit
93d660e978
11 files changed
+45
-4
No files matched your search
@@ -3,6 +3,7 @@
|
||||
|
||||
export let checked = false;
|
||||
export let lengthSeconds = undefined;
|
||||
export let lengthText = undefined;
|
||||
export let timestamp = 0;
|
||||
|
||||
let textInputElemet;
|
||||
@@ -15,6 +16,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
$: {
|
||||
if (lengthSeconds === undefined && lengthText) {
|
||||
lengthSeconds = getTimeStamp(lengthText);
|
||||
}
|
||||
}
|
||||
|
||||
$: timestampRange = timestamp !== undefined ? timestamp : 0;
|
||||
|
||||
function getTimeStamp(timestampText) {
|
||||
|
||||
Reference in new issue
Block a user