We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09a901d commit 3951f93Copy full SHA for 3951f93
crates/gui/src/main.rs
@@ -77,7 +77,7 @@ pub fn Input(
77
},
78
"Pick History Folder"
79
}
80
- if !history.read().is_empty() {
+ if !out_dir.read().is_empty() {
81
p { "Chosen History Directory: { out_dir.read() }" }
82
p { "Found { history.read().len() } pairs in the history." }
83
@@ -102,7 +102,7 @@ pub fn Results(
102
button {
103
id: "generate",
104
onclick: move |_ev| {
105
- if people.is_empty() || history.read().is_empty() {
+ if people.is_empty() || out_dir.read().is_empty() {
106
return;
107
108
let out = pair(people.clone(), &history.read());
0 commit comments