Merge pull request #1936 from basecamp/use-self
Use buil-in support for :self in Stimulus
This commit is contained in:
@@ -28,12 +28,6 @@ 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