Fix no category breaking display

This commit is contained in:
Chris Hunt 2022-12-16 12:05:14 +00:00
parent 99a12e2194
commit a596c84a7e

View File

@ -8,7 +8,7 @@ function App({ Component, pageProps, app }) {
</div> </div>
<div className="kasmcard-detail settingPad"> <div className="kasmcard-detail settingPad">
<h5 className="text-base">{ app.friendly_name }</h5> <h5 className="text-base">{ app.friendly_name }</h5>
<p className="text-xs opacity-50">{ app.categories[0] }</p> <p className="text-xs opacity-50">{ app.categories && app.categories[0] || 'Unknown' }</p>
</div> </div>
</div> </div>
</div> </div>