fix: devices list now shows Windows Wallpaper Mode badge
This commit is contained in:
parent
3c8a1b1fd6
commit
111e855a6e
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue