Merge branch 'samandar' into 'dev'

sounds

See merge request azizziy/cpost!44
This commit is contained in:
Azizbek Usmonov
2025-06-30 13:06:41 +05:00
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>
</>
)}
</>
)}