Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3496798
D4400.id14133.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4400.id14133.diff
View Options
diff --git a/web/modals/threads/settings/thread-settings-delete-tab.react.js b/web/modals/threads/settings/thread-settings-delete-tab.react.js
--- a/web/modals/threads/settings/thread-settings-delete-tab.react.js
+++ b/web/modals/threads/settings/thread-settings-delete-tab.react.js
@@ -51,6 +51,7 @@
const deleteThreadAction = React.useCallback(async () => {
try {
+ setErrorMessage('');
const response = await callDeleteThread(threadInfo.id, accountPassword);
modalContext.popModal();
return response;
diff --git a/web/modals/threads/settings/thread-settings-general-tab.react.js b/web/modals/threads/settings/thread-settings-general-tab.react.js
--- a/web/modals/threads/settings/thread-settings-general-tab.react.js
+++ b/web/modals/threads/settings/thread-settings-general-tab.react.js
@@ -104,6 +104,7 @@
const changeThreadSettingsAction = React.useCallback(async () => {
try {
+ setErrorMessage('');
const response = await callChangeThreadSettings({
threadID: threadInfo.id,
changes: queuedChanges,
diff --git a/web/modals/threads/settings/thread-settings-privacy-tab.react.js b/web/modals/threads/settings/thread-settings-privacy-tab.react.js
--- a/web/modals/threads/settings/thread-settings-privacy-tab.react.js
+++ b/web/modals/threads/settings/thread-settings-privacy-tab.react.js
@@ -71,6 +71,7 @@
const changeThreadSettingsAction = React.useCallback(async () => {
try {
+ setErrorMessage('');
const response = await callChangeThreadSettings({
threadID: threadInfo.id,
changes: queuedChanges,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 3:09 PM (16 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2681231
Default Alt Text
D4400.id14133.diff (1 KB)
Attached To
Mode
D4400: [web] Clear error message before sending another request on settings page
Attached
Detach File
Event Timeline
Log In to Comment