This commit is contained in:
Samandar Turg'unboev
2025-06-30 13:05:41 +05:00
parent 131e1386d9
commit 465b070394
3 changed files with 5 additions and 1 deletions

BIN
public/sounds/not_found.wav Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -777,10 +777,14 @@ const DashboardBoxesPage = (props: Props) => {
>
{t('confirmation')}
</Button>
<audio src='/sounds/success-sound.wav' autoPlay style={{ display: 'none' }}></audio>
</Box>
))
) : (
<Typography sx={{ mt: 2 }}>{t('no_products_found') || 'Mahsulot topilmadi'}</Typography>
<>
<Typography sx={{ mt: 2 }}>{t('not_found') || 'Mahsulot topilmadi'}</Typography>
<audio src='/sounds/not_found.wav' autoPlay style={{ display: 'none' }}></audio>
</>
)}
</>
)}