Added message to indicate compound indexes are not supported in Mongo Index editor (#395)

* mongo message

* Added test and bug fix in Main.tsx

* format changes

* added new formatting

* added null check
This commit is contained in:
Srinath Narayanan
2021-01-21 10:56:05 -08:00
committed by GitHub
parent 1ecc467f60
commit a298fd8389
5 changed files with 35 additions and 0 deletions

View File

@@ -441,6 +441,13 @@ export const mongoIndexingPolicyDisclaimer: JSX.Element = (
</Text>
);
export const mongoCompoundIndexNotSupportedMessage: JSX.Element = (
<Text>
Collections with compound indexes are not yet supported in the indexing editor. To modify indexing policy for this
collection, use the Mongo Shell.
</Text>
);
export const mongoIndexingPolicyAADError: JSX.Element = (
<MessageBar messageBarType={MessageBarType.error}>
<Text>