Fixed minor typos

This commit is contained in:
Hugo Bernier 2020-08-15 22:48:22 -04:00
parent f8ab357950
commit 006c54329f
3 changed files with 9 additions and 9 deletions

View File

@ -60,14 +60,14 @@ export default class dataservices {
_extensionResult = await this._MSGraphClient _extensionResult = await this._MSGraphClient
.api(`/me/extensions`) .api(`/me/extensions`)
.post(extentionData); .post(extentionData);
// Flag user has Extention crerated // Flag user has extension created
this._hasExtension = true; this._hasExtension = true;
} }
return _extensionResult; return _extensionResult;
} catch (error) { } catch (error) {
console.log(error); console.log(error);
throw new Error("Error create or Update Extention"); throw new Error("Error creating or updating extension");
} }
return; return;
} }

View File

@ -84,9 +84,9 @@ export function ManageApps(appProps: IManageAppsProps) {
<TextField <TextField
underlined underlined
required required
placeholder="Enter Name here" placeholder="Enter name here"
onGetErrorMessage={(newValue: string) => { onGetErrorMessage={(newValue: string) => {
return newValue.trim().length > 0 ? "" : "Please enter Name"; return newValue.trim().length > 0 ? "" : "Please enter name";
}} }}
validateOnFocusOut validateOnFocusOut
validateOnLoad={false} validateOnLoad={false}
@ -161,7 +161,7 @@ export function ManageApps(appProps: IManageAppsProps) {
style={{ width: 24, height: 24, fontSize: 24, marginRight: 7 }} style={{ width: 24, height: 24, fontSize: 24, marginRight: 7 }}
/> />
<IconPicker <IconPicker
buttonLabel={" select Icon"} buttonLabel={" Select icon"}
currentIcon={props.value} currentIcon={props.value}
onSave={(iconName: string) => { onSave={(iconName: string) => {
props.onChange(iconName); props.onChange(iconName);
@ -243,7 +243,7 @@ export function ManageApps(appProps: IManageAppsProps) {
> >
<div style={{ marginTop: 20, marginBottom: 25 }}> <div style={{ marginTop: 20, marginBottom: 25 }}>
<Text variant="large" block> <Text variant="large" block>
Please add links for your favorite Apps Please add links for your favorite apps
</Text> </Text>
</div> </div>
{hasError && ( {hasError && (

View File

@ -3,11 +3,11 @@ define([], function() {
IconPickerCancelLabel: "Cancel", IconPickerCancelLabel: "Cancel",
IconPickerSelectedLabel: "Selected", IconPickerSelectedLabel: "Selected",
IconPickerSaveLabel: "Save", IconPickerSaveLabel: "Save",
IconPickerSelectLabel: "Select an Icon", IconPickerSelectLabel: "Select an icon",
IconPickerCloseLabel: "Close", IconPickerCloseLabel: "Close",
PlaceHolderButtonLabel: "Add", PlaceHolderButtonLabel: "Add",
PlaceHolderDescription: "Please add your favorite Apps ", PlaceHolderDescription: "Please add your favorite apps ",
PlaceholderIconText: "You don't have any favorite Apps", PlaceholderIconText: "You don't have any favorite apps",
CancelLabelButton: "Cancel", CancelLabelButton: "Cancel",
SaveLabelButtom: "Save", SaveLabelButtom: "Save",
"PropertyPaneDescription": "Description", "PropertyPaneDescription": "Description",