diff --git a/src/Contracts/DataModels.ts b/src/Contracts/DataModels.ts index 49e72473d..2d7bfde25 100644 --- a/src/Contracts/DataModels.ts +++ b/src/Contracts/DataModels.ts @@ -166,7 +166,7 @@ export interface Database extends Resource { collections?: Collection[]; } -export interface DocumentId extends Resource { } +export interface DocumentId extends Resource {} export interface ConflictId extends Resource { resourceId?: string; @@ -198,7 +198,7 @@ export interface ComputedProperty { query: string; } -export type ComputedProperties = ComputedProperty[] +export type ComputedProperties = ComputedProperty[]; export interface PartitionKey { paths: string[]; diff --git a/src/Explorer/Controls/Settings/SettingsComponent.tsx b/src/Explorer/Controls/Settings/SettingsComponent.tsx index cc4912921..cfff241e6 100644 --- a/src/Explorer/Controls/Settings/SettingsComponent.tsx +++ b/src/Explorer/Controls/Settings/SettingsComponent.tsx @@ -681,7 +681,7 @@ export class SettingsComponent extends React.Component ( You have not saved the latest changes made to your{" "} - {editor == "indexPolicy" ? "indexing policy" : "computed properties"}. Please click save to confirm the changes. + {editor === "indexPolicy" ? "indexing policy" : "computed properties"}. Please click save to confirm the changes. ); @@ -341,10 +341,10 @@ const getCurrentThroughput = ( if (throughput) { return isAutoscale ? `, Current autoscale throughput: ${Math.round( - throughput / 10 - )} - ${throughput} ${throughputUnit}, Target autoscale throughput: ${Math.round( - targetThroughput / 10 - )} - ${targetThroughput} ${throughputUnit}` + throughput / 10 + )} - ${throughput} ${throughputUnit}, Target autoscale throughput: ${Math.round( + targetThroughput / 10 + )} - ${targetThroughput} ${throughputUnit}` : `, Current manual throughput: ${throughput} ${throughputUnit}, Target manual throughput: ${targetThroughput}`; } else { return isAutoscale