discourse/app/assets/javascripts/admin/addon/models
Ted Johansson 829b1bd6fd
FIX: Allow setting blank secret on an existing webhook (#33096)
We had a regression where you can no longer update an existing webhook to have a blank secret field.

The problem is the blank field will return a value of undefined, which is ignored by the store when sending the request to the back-end.

This fixes that by using the nullish coalescing operator to replace undefined with an empty string.
2025-06-11 09:53:12 +08:00
..
admin-dashboard.js FEATURE: Always show full page "New Features" to admins (#28383) 2024-08-16 09:12:24 +10:00
admin-plugin.js DEV: Use default admin routes for plugins with settings (#30941) 2025-02-04 14:57:28 +08:00
admin-user.js DEV: revert admin users list change (#32723) 2025-05-15 09:48:01 +02:00
api-key.js DEV: Require at least one scope for API key granular mode (#31253) 2025-02-10 13:22:08 +08:00
backup-status.js DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
backup.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
color-scheme-color.js FEATURE: Theme-owned color palettes (#32795) 2025-06-04 07:47:58 +03:00
color-scheme.js FEATURE: Theme-owned color palettes (#32795) 2025-06-04 07:47:58 +03:00
email-log.js DEV: Extract e-mail logs into their own admin page (#32211) 2025-04-08 17:50:12 +08:00
email-preview.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
email-settings.js DEV: Add e-mail site settings to e-mail admin page (#32214) 2025-04-08 18:59:50 +08:00
email-style.js DEV: Update admin models to native class syntax (#20704) 2023-03-17 10:18:42 +00:00
email-template.js UX: Use DPageHeader on the Emails page (#30781) 2025-01-15 15:36:16 +11:00
flag-type.js DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
form-template.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
incoming-email.js DEV: Extract e-mail logs into their own admin page (#32211) 2025-04-08 17:50:12 +08:00
permalink.js FIX: Make permalink search work even when there're 100+ permalinks (#31354) 2025-02-16 00:19:16 +03:00
report.js UX: Show full total numbers in admin reports (#31061) 2025-01-31 09:55:05 +10:00
screened-email.js DEV: Update lint-configs and autofix issues (#31620) 2025-03-05 01:20:16 +01:00
screened-ip-address.js DEV: Update lint-configs and rubocop-discourse (#31728) 2025-03-10 19:52:19 +01:00
screened-url.js DEV: Update lint-configs and autofix issues (#31620) 2025-03-05 01:20:16 +01:00
site-setting.js FEATURE: porting type object to site settings (#32706) 2025-05-13 14:30:24 -03:00
site-text.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
staff-action-log.js FEATURE: Allow rejected user details to be scrubbed (#31987) 2025-03-31 12:40:35 +11:00
theme-settings.js DEV: Preserve unsaved site settings (#32100) 2025-04-03 16:10:30 +08:00
theme.js FEATURE: Theme-owned color palettes (#32795) 2025-06-04 07:47:58 +03:00
tl3-requirements.js DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
user-export.js FEATURE: Allow admins to export users (#30918) 2025-01-24 08:13:25 +11:00
user-field.js DEV: Modernize admin user fields (#29843) 2024-11-25 11:54:43 +08:00
version-check.js DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
watched-word.js DEV: Consolidate i18n import paths (#29804) 2024-11-19 20:45:18 +00:00
web-hook.js FIX: Allow setting blank secret on an existing webhook (#33096) 2025-06-11 09:53:12 +08:00