small fix on Empty slot data

* Stopped pasting "Empty" on top of "Null"
This commit is contained in:
lunar-mining
2022-03-19 07:38:06 +01:00
parent acb77e5be9
commit 845040f978

View File

@@ -204,7 +204,7 @@ async fn poll(client: DNetView, model: Arc<Model>) -> Result<()> {
let channel = Channel::new(msg, status);
let new_slot = Slot::new(
is_empty,
String::from("Empty"),
String::new(),
channel,
state.as_str().unwrap().to_string(),
);