Skip to content

Commit

Permalink
Fix for issue #231
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsen9026 committed Feb 15, 2024
1 parent ebc2be3 commit ffe8a01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion BLAZAM/BLAZAM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<ServerGarbageCollection>false</ServerGarbageCollection>
<AssemblyVersion>0.8.8</AssemblyVersion>
<Version>2024.02.15.0052</Version>
<Version>2024.02.15.0059</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<RootNamespace>BLAZAM</RootNamespace>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
Expand Down
10 changes: 3 additions & 7 deletions BLAZAMGui/UI/Groups/AddMemberModalContent.razor
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@inherits AppModalContent


<Row Background="Background.Light" Color="Color.Dark">
<MudStack>

<ADAutoComplete Label="Member" @bind-SelectedResult="@Entry" />

Expand Down Expand Up @@ -34,11 +34,8 @@
</MudCard>
}
}
</Row>
<Row>
<MudButton Color="Color.Primary" OnClick="AssignToGroup">Add</MudButton>

</Row>
</MudStack>


@code {
Expand All @@ -52,7 +49,6 @@
Modal.OnYes = AssignToGroup;
Modal.YesText = AppLocalization["Assign"];
Modal.Title = "Assign Member";
Modal.YesEnabled = ValidateModal;
}

IDirectoryEntryAdapter? copyFrom;
Expand Down Expand Up @@ -84,6 +80,6 @@
Close();
}
}
protected override bool IsValid => (Entry != null && CopyFrom != null);
protected override bool IsValid => (Entry != null || CopyFrom != null);

}

0 comments on commit ffe8a01

Please sign in to comment.