mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-22 18:43:15 +02:00
Update updateResource.ts
This commit is contained in:
@@ -498,7 +498,8 @@ async function updateHttpResource(
|
||||
}
|
||||
|
||||
// catch when the resource policy changes or gets cleared
|
||||
if (resource.resourcePolicyId != updateData.resourcePolicyId) {
|
||||
if (updateData.resourcePolicyId !== undefined &&
|
||||
resource.resourcePolicyId !== updateData.resourcePolicyId) {
|
||||
await clearResourceSpecificSettings(
|
||||
resource.resourceId,
|
||||
resource.orgId,
|
||||
|
||||
Reference in New Issue
Block a user