summaryrefslogtreecommitdiff
path: root/src/view/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/main.rs')
-rw-r--r--src/view/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/view/main.rs b/src/view/main.rs
index c2af72a..d6b2cb9 100644
--- a/src/view/main.rs
+++ b/src/view/main.rs
@@ -377,9 +377,10 @@ impl Component for MainView {
builder = builder.with_org(vec![organizational.org]);
}
- if !organizational.logo.is_empty() {
- builder = builder.with_logo(organizational.logo);
- }
+ match organizational.logo {
+ Some(file) => builder = builder.with_logo(file.content),
+ None => (),
+ };
if !organizational.title.is_empty() {
builder = builder.with_title(organizational.title);