mirror of
https://git.alemi.dev/dashboard.git
synced 2024-11-12 19:29:18 +01:00
fix: don't show whole db url (and credentials)
This commit is contained in:
parent
9a7b29c8f8
commit
4bc7cab8d8
1 changed files with 3 additions and 1 deletions
|
@ -169,6 +169,8 @@ fn main() {
|
|||
|
||||
info!(target: "launcher", "Starting native GUI");
|
||||
|
||||
let db_name = args.db.clone().split('/').last().unwrap_or("").to_string();
|
||||
|
||||
eframe::run_native(
|
||||
// TODO replace this with a loop that ends so we can cleanly exit the background worker
|
||||
"dashboard",
|
||||
|
@ -181,7 +183,7 @@ fn main() {
|
|||
Box::new(
|
||||
App::new(
|
||||
cc,
|
||||
args.db,
|
||||
db_name,
|
||||
args.interval as i64,
|
||||
view,
|
||||
width_tx,
|
||||
|
|
Loading…
Reference in a new issue