Skip to content

Commit

Permalink
Merge branch 'master' into update-browserslist-db
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz committed Feb 1, 2023
2 parents b178c3f + bf69560 commit ed0e575
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/components/ReportingConfig/ReportingConfigForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ class ReportingConfigForm extends React.Component {
<ValidationFormGroup
for="deliveryMethod"
helpText="The method in which the data should be sent"
invalid={!!APIErrors.deliveryMethod}
invalidMessage={APIErrors.deliveryMethod}
>
<label htmlFor="deliveryMethod">Delivery Method</label>
<Input
Expand All @@ -251,6 +253,13 @@ class ReportingConfigForm extends React.Component {
defaultValue={config ? config.deliveryMethod : reportingConfigTypes.deliveryMethod[0][0]}
options={reportingConfigTypes.deliveryMethod.map(item => ({ label: item[1], value: item[0] }))}
onChange={e => this.setState({ deliveryMethod: e.target.value })}
disabled={config}
/>
<input
type="hidden"
name="deliveryMethod"
value={config ? config.deliveryMethod : reportingConfigTypes.deliveryMethod[0][0]}
disabled={!config}
/>
</ValidationFormGroup>
<ValidationFormGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function getSyncStatus(status, statusMessage) {
</Popover.Content>
</Popover>
)}
><Hyperlink className="ml-3"><u>Read</u></Hyperlink>
><Hyperlink className="ml-3" style={{ cursor: 'pointer' }}><u>Read</u></Hyperlink>
</OverlayTrigger>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/settings/SettingsLMSTab/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const SettingsLMSTab = ({
</h2>
{displayNeedsSSOAlert && !hasSSOConfig && (
<Alert
className="mr-6 sso-alert-modal-margin"
className="mw-lg sso-alert-modal-margin"
variant="danger"
icon={Info}
actions={[
Expand Down
1 change: 1 addition & 0 deletions src/components/settings/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

.side-button {
float: right;
margin-left: 1rem;
margin-right: 1rem;
right: 0;
width: 300px;
Expand Down

0 comments on commit ed0e575

Please sign in to comment.