refactor: 💡 Disable read-only fields when editing worker (#1287)
Refactor detailed worker to not hide read-only fields when editing, but
leave them disabled
✅ Closes: ICU-5902
This commit is contained in:
1 parent
bc7ed3f0ed
commit
03b603be54
2 files changed
+29
-31
No files matched your search
@@ -46,7 +46,6 @@ export default class extends Helper {
|
||||
|
||||
compute([date]) {
|
||||
const delta = date.valueOf() - this.clockTick.now;
|
||||
console.log(delta);
|
||||
const greatestMeaningfulUnit = unitMappings.reduce(
|
||||
(currentValue, previousValue) => {
|
||||
return Math.abs(delta) >= previousValue.value
|
||||
|
||||
Reference in new issue
Block a user