Skip to content

Commit

Permalink
Fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Feb 28, 2025
1 parent 07a6579 commit e2572f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/settings/components/BaseCommandView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,23 +86,23 @@ const BaseCommandView = ({ deviceId, item, setItem }) => {
})}
{textEnabled && (
<FormControlLabel
control={
control={(
<Checkbox
checked={item.textChannel}
onChange={(e) => setItem({ ...item, textChannel: e.target.checked })}
/>
}
)}
label={t('commandSendSms')}
/>
)}
{!item.textChannel && (
<FormControlLabel
control={
control={(
<Checkbox
checked={item.attributes?.noQueue}
onChange={(e) => setItem({ ...item, attributes: { ...item?.attributes, noQueue: e.target.checked } })}
/>
}
)}
label={t('commandNoQueue')}
/>
)}
Expand Down

0 comments on commit e2572f3

Please sign in to comment.