ok
This commit is contained in:
@@ -567,11 +567,20 @@ const App = ({ forCafe = true, cafeId = -1,
|
||||
/>
|
||||
)
|
||||
}
|
||||
{selectedCafeId != -1 && (
|
||||
<RoundedRectangle
|
||||
title={"Total promo"}
|
||||
loading={loading}
|
||||
value={'Rp'+analytics?.currentTotals.totalPromoSpend}
|
||||
// width="calc(50% - 10px)"
|
||||
onClick={() => window.location.href = window.location.origin + '/' + otherCafes.find(item => item.cafeId === selectedCafeId).cafeIdentifyName}
|
||||
/>
|
||||
)}
|
||||
{!forCafe && selectedCafeId != -1 && selectedCafeId != 0 && (
|
||||
<RoundedRectangle
|
||||
title={"Kunjungi bisnis"}
|
||||
loading={loading}
|
||||
width="calc(100% - 10px)"
|
||||
// width="calc(100% - 10px)"
|
||||
onClick={() => window.location.href = window.location.origin + '/' + otherCafes.find(item => item.cafeId === selectedCafeId).cafeIdentifyName}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user