Save a bunch of invocations on morph events from children elements
This commit is contained in:
@@ -28,6 +28,12 @@ export default class extends Controller {
|
||||
}
|
||||
}
|
||||
|
||||
morphed({target}) {
|
||||
if (this.element === target) {
|
||||
this.update()
|
||||
}
|
||||
}
|
||||
|
||||
get #hasEntropy() {
|
||||
return this.#entropyCleanupInDays < this.entropyValue.daysBeforeReminder
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user