added logs for projects and add ons

This commit is contained in:
Chris Zhu
2024-10-12 23:23:31 -07:00
parent 9bc1a8487d
commit 33d3c7df15
12 changed files with 104 additions and 21 deletions

View File

@@ -0,0 +1,11 @@
import { Controller } from "@hotwired/stimulus"
export default class extends Controller {
static targets = ["container"]
connect() {
// Scroll to the bottom of the container
this.containerTarget.scrollTop = this.containerTarget.scrollHeight;
console.log("Logs controller connected")
}
}