Skip to content

Commit

Permalink
Enhance UI of extension settings (#24171)
Browse files Browse the repository at this point in the history
Remove Group Caption since the Caption wasn't translated and it didn't
provide any value.
  • Loading branch information
pri-kise authored Jul 25, 2023
1 parent e22666c commit f6a015d
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ page 2511 "Extension Settings"
{
group(Group)
{

field(AppId; AppIdValue)
{
ApplicationArea = All;
Expand Down Expand Up @@ -62,7 +63,7 @@ page 2511 "Extension Settings"
var
PublishedApplication: Record "Published Application";
begin
PublishedApplication.SetRange(ID, "App ID");
PublishedApplication.SetRange(ID, Rec."App ID");
PublishedApplication.SetRange("Tenant Visible", true);

if PublishedApplication.FindFirst() then begin
Expand All @@ -76,13 +77,13 @@ page 2511 "Extension Settings"
var
ExtensionInstallationImpl: Codeunit "Extension Installation Impl";
begin
if GetFilter("App ID") = '' then
if Rec.GetFilter("App ID") = '' then
exit;

"App ID" := GetRangeMin("App ID");
if not FindFirst() then begin
Init();
Insert();
Rec."App ID" := Rec.GetRangeMin("App ID");
if not Rec.FindFirst() then begin
Rec.Init();
Rec.Insert();
end;

CanManageExtensions := ExtensionInstallationImpl.CanManageExtensions();
Expand All @@ -94,4 +95,3 @@ page 2511 "Extension Settings"
AppIdValue: Text;
CanManageExtensions: Boolean;
}

0 comments on commit f6a015d

Please sign in to comment.