Parcourir la source

small fix on Empty slot data

* Stopped pasting "Empty" on top of "Null"
lunar-mining il y a 4 ans
Parent
commit
845040f978
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      bin/dnetview/src/main.rs

+ 1 - 1
bin/dnetview/src/main.rs

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