mirror of
https://git.alemi.dev/dashboard.git
synced 2024-11-22 15:34:54 +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");
|
info!(target: "launcher", "Starting native GUI");
|
||||||
|
|
||||||
|
let db_name = args.db.clone().split('/').last().unwrap_or("").to_string();
|
||||||
|
|
||||||
eframe::run_native(
|
eframe::run_native(
|
||||||
// TODO replace this with a loop that ends so we can cleanly exit the background worker
|
// TODO replace this with a loop that ends so we can cleanly exit the background worker
|
||||||
"dashboard",
|
"dashboard",
|
||||||
|
@ -181,7 +183,7 @@ fn main() {
|
||||||
Box::new(
|
Box::new(
|
||||||
App::new(
|
App::new(
|
||||||
cc,
|
cc,
|
||||||
args.db,
|
db_name,
|
||||||
args.interval as i64,
|
args.interval as i64,
|
||||||
view,
|
view,
|
||||||
width_tx,
|
width_tx,
|
||||||
|
|
Loading…
Reference in a new issue