Skip to content

Commit 7eb2657

Browse files
authored
Merge pull request #656 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents bc35d73 + 7a4fd87 commit 7eb2657

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

src/components/CippComponents/CippApplicationDeployDrawer.jsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export const CippApplicationDeployDrawer = ({
241241
<Grid size={{ md: 6, xs: 12 }}>
242242
<CippFormComponent
243243
type="textField"
244-
label="Server URL (e.g., https://pinotage.centrastage.net)"
244+
label="Server URL (e.g., https://pinotage.rmm.datto.com)"
245245
name="params.dattoUrl"
246246
formControl={formControl}
247247
validators={{ required: "Server URL is required" }}
@@ -784,13 +784,9 @@ export const CippApplicationDeployDrawer = ({
784784
validators={{ required: "Please provide custom XML configuration" }}
785785
/>
786786
<Alert severity="info" sx={{ mt: 1 }}>
787-
Provide a custom Office Configuration XML. When using custom XML, all other
788-
Office configuration options above will be ignored. See{" "}
789-
<a
790-
href="https://config.office.com/"
791-
target="_blank"
792-
rel="noopener noreferrer"
793-
>
787+
Provide a custom Office Configuration XML. When using custom XML, all other Office
788+
configuration options above will be ignored. See{" "}
789+
<a href="https://config.office.com/" target="_blank" rel="noopener noreferrer">
794790
Office Customization Tool
795791
</a>{" "}
796792
to generate XML.

src/hooks/use-timezones.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const useTimezones = () => {
2424
return {
2525
label,
2626
value: name,
27+
alternativeName: tz?.alternativeName ? String(tz.alternativeName) : undefined,
2728
};
2829
})
2930
// de-duplicate by value

src/pages/cipp/super-admin/time-settings.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ const Page = () => {
4646
useEffect(() => {
4747
if (backendInfo.isSuccess && backendInfo.data) {
4848
const tzStr = backendInfo.data?.Results?.Timezone || "UTC";
49-
const tzOption = (timezones || []).find((o) => o?.value === tzStr) || {
49+
const tzOption = (timezones || []).find(
50+
(o) => o?.value === tzStr || o?.alternativeName === tzStr
51+
) || {
5052
label: tzStr,
5153
value: tzStr,
5254
};

0 commit comments

Comments
 (0)