feat: Enhance auto URL processing to include domain management and improve error handling; update UI text for clarity in ASNs, Domains, and IPRanges managers
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 18m27s
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 18m27s
This commit is contained in:
@@ -423,8 +423,8 @@ function IPRangesManager() {
|
||||
disableExport={items.length === 0}
|
||||
onClear={clearInvalid}
|
||||
disableClear={items.length === 0}
|
||||
onClearCommunities={() => setClearCommunitiesOpen(true)}
|
||||
disableClearCommunities={items.length === 0}
|
||||
onClearCommunities={() => { if (!filterCommunity) { setError('Выберите community в фильтре для очистки'); return; } setClearCommunitiesOpen(true); }}
|
||||
disableClearCommunities={items.length === 0 || !filterCommunity}
|
||||
onSave={handleSaveChanges}
|
||||
disableSave={loading}
|
||||
onHistory={() => setHistoryOpen(true)}
|
||||
@@ -715,11 +715,11 @@ function IPRangesManager() {
|
||||
/>
|
||||
<ConfirmDialog
|
||||
open={clearCommunitiesOpen}
|
||||
title={'Очистить все community?'}
|
||||
message={'Поле community будет очищено у всех IP-диапазонов. Это действие не сохраняет изменения автоматически.'}
|
||||
confirmText={'Очистить'}
|
||||
title={'Удалить записи community'}
|
||||
message={`Будут удалены все IP-диапазоны с community "${filterCommunity}". Действие НЕ сохраняет изменения автоматически.`}
|
||||
confirmText={'Удалить'}
|
||||
cancelText={'Отмена'}
|
||||
onConfirm={() => { setItems(prev => prev.map(i => ({ ...i, community: '' }))); setClearCommunitiesOpen(false); }}
|
||||
onConfirm={() => { setItems(prev => prev.filter(i => i.community !== filterCommunity)); setClearCommunitiesOpen(false); }}
|
||||
onCancel={() => setClearCommunitiesOpen(false)}
|
||||
/>
|
||||
{/* Diff Modal */}
|
||||
|
||||
Reference in New Issue
Block a user