Fix issue with unnamed view

This commit is contained in:
estevez-dev
2019-09-18 21:14:21 +03:00
parent 56a333a852
commit dc62a08da3
2 changed files with 14 additions and 14 deletions

View File

@ -87,7 +87,7 @@ class HAView {
} else {
return
Tab(
text: name.toUpperCase(),
text: "${name?.toUpperCase() ?? "UNNAMED VIEW"}",
);
}
} else {
@ -101,7 +101,7 @@ class HAView {
);
} else {
return Tab(
text: linkedEntity.displayName.toUpperCase(),
text: "${linkedEntity.displayName?.toUpperCase()}",
);
}