mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-31 03:52:50 +08:00
* chore: rename webapp-template packages to ui-bundle-template * chore: sync React b2e and b2x samples from npm @1.117.3 * chore: rename sample folders to match ui-bundle-template package names * chore: sync React b2e and b2x samples from npm @1.117.5 * chore: remove accidental trace.md from b2e sample * chore: keep old webapp-template sample directories alongside new ui-bundle-template ones * chore: revert component.md change from skills/generating-webapplication-ui * chore: update ui-bundle-template sample versions to 1.117.5
9 lines
342 B
Plaintext
9 lines
342 B
Plaintext
trigger TenantTrigger on Tenant__c (after insert, after update) {
|
|
if (Trigger.isAfter && Trigger.isInsert) {
|
|
TenantTriggerHandler.assignTenantMaintenanceAccess(Trigger.new, null);
|
|
}
|
|
if (Trigger.isAfter && Trigger.isUpdate) {
|
|
TenantTriggerHandler.assignTenantMaintenanceAccess(Trigger.new, Trigger.oldMap);
|
|
}
|
|
}
|