fix: handle nullable ads data and ensure safe filtering in advertisements

This commit is contained in:
Ardeman
2025-04-23 13:29:03 +08:00
parent eedb155880
commit 7b4ea17a16
4 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ export const AdvertisementsPage = () => {
</div>
<UiTable
data={dataTable}
data={dataTable || []}
columns={dataColumns}
slots={dataSlot}
title="Daftar Spanduk Iklan"