This commit is contained in:
Jonathan Turner
2019-12-09 08:15:14 +13:00
parent 28df1559ea
commit dbadf9499e
2 changed files with 4 additions and 2 deletions

View File

@ -32,7 +32,9 @@ impl Plugin for TextView {
}
fn sink(&mut self, _call_info: CallInfo, input: Vec<Value>) {
view_text_value(&input[0]);
if !input.is_empty() {
view_text_value(&input[0]);
}
}
}