Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -404,8 +404,6 @@ async function onSave () {
|
||||
}
|
||||
|
||||
try {
|
||||
console.log('🟢 onSave() START', { mode: mode.value })
|
||||
|
||||
if (form.value.mobile) {
|
||||
form.value.mobile = form.value.mobile.replace(/_/g, '').trim()
|
||||
}
|
||||
@@ -415,8 +413,6 @@ async function onSave () {
|
||||
if (isNew.value) {
|
||||
id = await store.createUser()
|
||||
|
||||
console.log('➡️ CREATE → EDIT MODE id=', id)
|
||||
|
||||
// 🔄 EDIT MODE’A GEÇ
|
||||
router.replace({
|
||||
name: 'user-edit',
|
||||
@@ -431,7 +427,6 @@ async function onSave () {
|
||||
$q.notify({ type: 'positive', message: 'İşlem başarılı' })
|
||||
|
||||
} catch (e) {
|
||||
console.error('❌ onSave ERROR', e)
|
||||
$q.notify({ type: 'negative', message: store.error || 'İşlem başarısız' })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user