src: add flag to measure on prem import
The flag can be used later to track the usage of on prem import feature.
This commit is contained in:
parent
5cfab75813
commit
b2401afe27
3 changed files with 3 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ export const mapOnPremToHosted = (
|
|||
metadata: {
|
||||
parent_id: null,
|
||||
exported_at: '',
|
||||
is_on_prem: true,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -348,6 +348,7 @@ export const mapExportRequestToState = (
|
|||
metadata: {
|
||||
parent_id: request.metadata?.parent_id || null,
|
||||
exported_at: request.metadata?.exported_at || '',
|
||||
is_on_prem: request.metadata?.is_on_prem || false,
|
||||
},
|
||||
env: initialState.env,
|
||||
registration: initialState.registration,
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ export type wizardState = {
|
|||
metadata?: {
|
||||
parent_id: string | null;
|
||||
exported_at: string;
|
||||
is_on_prem: boolean;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue