remove another reduntant notif

This commit is contained in:
MCHost
2025-06-26 02:55:15 -04:00
parent f8cf7802cb
commit 281d3432b4

View File

@ -1731,7 +1731,6 @@ function propertiesToString(properties) {
async function fetchServerProperties() {
try {
const key = `action-fetch-properties`;
const notification = showNotification('Loading server properties...', 'loading', key);
const response = await wsRequest('/server-properties', 'GET');
if (response.error) {
updateNotification(notification, `Failed to load server properties: ${response.error}`, 'error', key);
@ -1747,7 +1746,6 @@ async function fetchServerProperties() {
);
renderPropertiesFields(displayProperties);
elements.editPropertiesModal.classList.remove('hidden');
updateNotification(notification, 'Server properties loaded successfully', 'success', key);
} catch (error) {
console.error('Fetch server properties error:', error);
showNotification(`Failed to load server properties: ${error.message}`, 'error', 'fetch-properties-error');