Senden nur bei Eingabe
This commit is contained in:
@@ -46,7 +46,7 @@ namespace BeWo.ViewModel.ListViewModel
|
||||
{
|
||||
Models = new ObservableSortCollection<AiModelDC>();
|
||||
|
||||
SendNewMessageCommand = new DelegateCommand(SendNewMessage, () => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleChatAdd) && SelectedVM is object);
|
||||
SendNewMessageCommand = new DelegateCommand(SendNewMessage, () => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleChatAdd) && SelectedVM is object && !string.IsNullOrWhiteSpace(MessageInput));
|
||||
RequestNewConversationCommand = new DelegateCommand(RequestNewConversation, () => BeWoApp.HasLoggedOnUserRight(UserRightType.AiModuleChatAdd));
|
||||
//TestCommand = new DelegateCommand(Test);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user