Skip to content

Commit

Permalink
Small Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasM1978 committed Sep 27, 2024
1 parent 0210b12 commit 9f74924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extensions/Signum.SMS/SMSClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export namespace SMSClient {
Navigator.addSettings(new EntitySettings(MultipleSMSModel, e => import('./Templates/MultipleSMS')));

var cachedAllTypes: Promise<string[]>;
QuickLinks.registerGlobalQuickLink(entityType => (cachedAllTypes ??= API.getAllTypes())
QuickLinkClient.registerGlobalQuickLink(entityType => (cachedAllTypes ??= API.getAllTypes())
.then(allTypes => [new QuickLinkAction("smsMessages", () => SMSMessageEntity.nicePluralName(), ctx => getSMSMessages(ctx.lite),
{
isVisible: allTypes.contains(entityType) && !Navigator.isReadOnly(SMSMessageEntity),
Expand Down

0 comments on commit 9f74924

Please sign in to comment.