From f166458c87a1da87fab4bcadd372a4ef9b7d90f4 Mon Sep 17 00:00:00 2001 From: Daniel Espino Date: Thu, 22 Jan 2026 18:32:36 +0100 Subject: [PATCH] Fix lint and texts --- .../channel_settings_modal/channel_settings_info_tab.test.tsx | 4 ---- webapp/channels/src/i18n/en.json | 1 - 2 files changed, 5 deletions(-) diff --git a/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.test.tsx b/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.test.tsx index 4b7adf94648..a5528b9163f 100644 --- a/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.test.tsx +++ b/webapp/channels/src/components/channel_settings_modal/channel_settings_info_tab.test.tsx @@ -204,9 +204,7 @@ describe('ChannelSettingsInfoTab', () => { // Verify patchChannel was called with the updated values (without type change). // Note: URL should remain unchanged when editing existing channels expect(patchChannel).toHaveBeenCalledWith('channel1', { - ...mockChannel, display_name: 'Updated Channel Name', - name: 'test-channel', // URL should remain unchanged when editing existing channels purpose: 'Updated purpose', header: 'Updated header', }); @@ -244,9 +242,7 @@ describe('ChannelSettingsInfoTab', () => { // Verify patchChannel was called with the trimmed values expect(patchChannel).toHaveBeenCalledWith('channel1', { - ...mockChannel, display_name: 'Channel Name With Whitespace', // Whitespace should be trimmed - name: 'test-channel', // URL should remain unchanged when editing existing channels purpose: 'Purpose with whitespace', // Whitespace should be trimmed header: 'Header with whitespace', // Whitespace should be trimmed }); diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index c55621e1925..67676d4effc 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -3687,7 +3687,6 @@ "channel_header.recentMentions": "Recent mentions", "channel_header.search": "Search", "channel_header.setConversationHeader": "Edit Header", - "channel_header.settings": "Settings", "channel_header.unarchive": "Unarchive Channel", "channel_header.unmute": "Unmute Channel", "channel_header.unmuteConversation": "Unmute",