File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
components/CippComponents Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 } ;
You can’t perform that action at this time.
0 commit comments