Fixes T7866. These values aren't always provided. They should be, but just make things work for now.
Details
Details
- Reviewers
btrahan chad - Maniphest Tasks
- T7866: Diffusion repository with custom policies do not load the custom policies when modifying
- Commits
- Restricted Diffusion Commit
rP2875f029be7f: Fix an issue with custom policy edit control not populating correctly
- Edited a task.
- Selected "Custom Policy" for "Edit Policy".
- Configured a policy like "Users: dog".
- Saved policy.
- Selected "Custom Policy" again to edit the policy.
- Before patch: tokenizer fails to render with an error (config.types is not an object).
- After patch: tokenizer renders properly, albeit with a missing icon.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable