mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Use Toast instead of alert for notifications
This commit is contained in:
parent
b7f0b7ebc2
commit
1090bcd6e8
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { BaseLayer } from './base_layer'
|
||||
import { Toast } from 'maps_maplibre/components/toast'
|
||||
|
||||
/**
|
||||
* Points layer for displaying individual location points
|
||||
|
|
@ -150,7 +151,7 @@ export class PointsLayer extends BaseLayer {
|
|||
source.setData(data)
|
||||
}
|
||||
}
|
||||
alert('Failed to update point position. Please try again.')
|
||||
Toast.error('Failed to update point position. Please try again.')
|
||||
}
|
||||
|
||||
this.draggedFeature = null
|
||||
|
|
|
|||
Loading…
Reference in a new issue