Skip to content

Commit

Permalink
Fixing errors from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
pavolum committed Apr 14, 2021
1 parent ec1e389 commit 0cfa2e8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { Stack } from 'office-ui-fabric-react/lib/components/Stack';
import { ITextField, TextField } from 'office-ui-fabric-react/lib/components/TextField';
import cloneDeep from 'lodash/cloneDeep';
import formatMessage from 'format-message';
import { MessageBar, MessageBarType } from 'office-ui-fabric-react/lib/MessageBar';

import { dispatcherState, rootBotProjectIdSelector, settingsState } from '../../recoilModel';
import { mergePropertiesManagedByRootBot } from '../../recoilModel/dispatchers/utils/project';
Expand Down Expand Up @@ -162,7 +163,7 @@ export const AllowedCallers: React.FC<Props> = ({ projectId }) => {
{!runtimeSettings?.skills?.allowedCallers?.length && (
<MessageBar messageBarType={MessageBarType.warning}>
{formatMessage('This bot cannot be called as a skill since the allowed caller list is empty')}
</div>
</MessageBar>
)}
<ActionButton data-testid={'addNewAllowedCaller'} styles={actionButton} onClick={onAddNewAllowedCaller}>
{formatMessage('Add new caller')}
Expand Down

0 comments on commit 0cfa2e8

Please sign in to comment.