Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,11 @@ export default function CompanyPage() {
isReadonly={isFetching}
hasError={!!errors.search}
onOdsChange={(event) => {
const nextValue = String(
event.detail?.value ?? '',
).replace(/\s+/g, '');
const rawValue = String(event.detail?.value ?? '');
const numericValue = rawValue.replace(/\s+/g, '');
const nextValue = /^\d+$/.test(numericValue)
? numericValue
: rawValue;
onChange(nextValue);
}}
onBlur={onBlur}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export const WEBSITE_LABEL_BY_LOCALE = {
'en-CA': 'OVHcloud Canada (English)',
'en-AU': 'OVHcloud Australia (English)',
'en-SG': 'OVHcloud Singapore (English)',
'zh-SG': 'OVHcloud 新加坡 (中文)',
'zh-SG': 'OVHcloud Singapore (Chinese)',
'fr-CA': 'OVHcloud Canada (Français)',
'hi-IN': 'OVHcloud भारत (हिंदी)',
'hi-IN': 'OVHcloud India (Hindi)',
'en-IN': 'OVHcloud India (English)',
'en-US': 'OVHcloud United States (English)',
};
Expand Down
4 changes: 3 additions & 1 deletion packages/manager/apps/cloud-shell/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ const loadWasm = async (): Promise<void> => {
OVH_USER_AGENT: navigator.userAgent,
};
const { instance } = await WebAssembly.instantiateStreaming(
fetch('ovhcloud.wasm'),
fetch('https://engineassets.ovhcloud.com/ovhcloud.wasm', {
credentials: 'omit',
}),
goWasm.importObject,
);

Expand Down
Loading