summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-26 01:08:17 +0300
committerVika <vika@fireburn.ru>2024-08-26 01:08:17 +0300
commit46dad112791ae0607a98788ddae322eb25d02c93 (patch)
tree2eef6ddcd4927d0a9dbd2d33e4fc1fb75d6612eb /src
parent18ceffed07f680f092ea9b07b002a1b18d37070f (diff)
downloadbowl-46dad112791ae0607a98788ddae322eb25d02c93.tar.zst
Clear tags on post submit
Diffstat (limited to 'src')
-rw-r--r--src/components/post_editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_editor.rs b/src/components/post_editor.rs
index 86bd91d..534b0dd 100644
--- a/src/components/post_editor.rs
+++ b/src/components/post_editor.rs
@@ -534,7 +534,7 @@ impl<E: std::error::Error + std::fmt::Debug + Send + 'static> Component for Post
             Input::SubmitDone(location) => {
                 self.name_buffer.set_text("");
                 self.summary_buffer.set_text("");
-                // TODO: tags
+                self.tags.guard().clear();
                 self.content_buffer.set_text("");
                 let toast = adw::Toast::new("Post submitted");
                 toast.set_button_label(Some("Open"));