No empty logs and fixes some errors

This commit is contained in:
2025-06-18 15:05:47 +02:00
parent fbdfe86eee
commit d074c9bf27
7 changed files with 35 additions and 21 deletions

View File

@@ -23,8 +23,10 @@ def dashboard():
.limit(50)
.all()
)
form = npForm()
return render_template("dashboard.html", plates=Plates, logs=logs, form=form)
form = npForm()
return render_template(
"dashboard.html", plates=Plates, logs=logs, form=form
)
@dash_blueprint.route("/add", methods=["GET", "POST"])