fix: devices list now shows Windows Wallpaper Mode badge

This commit is contained in:
Tigor Hutasuhut 2024-05-08 19:40:25 +07:00
parent 3c8a1b1fd6
commit 111e855a6e

View file

@ -61,6 +61,9 @@ templ devicesList(data Data) {
</div> </div>
<div class="divider">Filter</div> <div class="divider">Filter</div>
<div class="flex flex-wrap gap-4"> <div class="flex flex-wrap gap-4">
if device.WindowsWallpaperMode == 1 {
<div class="badge badge-accent">Windows Wallpaper Mode</div>
}
if device.NSFW == 1 { if device.NSFW == 1 {
<div class="badge badge-accent">NSFW</div> <div class="badge badge-accent">NSFW</div>
} }