@@ -17,7 +17,7 @@ import { CopyableTextField } from '../utils/components/copyableTextField';
1717import { UNIQUE_REQUIRED , validateField } from '../utils/validator' ;
1818
1919interface CustomWidgetDetailsModalState {
20- isEdit : boolean ,
20+ isEdit : boolean ,
2121 customWidget : TCustomWidgetConfig ,
2222 saveButtonDisabled : boolean ,
2323 showInstructions : boolean ,
@@ -135,11 +135,11 @@ export class CustomWidgetDetailsModal extends React.Component
135135
136136 render ( ) : JSX . Element {
137137 return < >
138- { this . state . showDeleteConfirmation &&
138+ { this . state . showDeleteConfirmation &&
139139 < DeleteConfirmationOverlay
140140 deleteItemTitle = { this . state . customWidget . displayName }
141141 onConfirm = { this . deleteCustomWidget . bind ( this ) }
142- onDismiss = { this . closeDeleteConfirmation . bind ( this ) }
142+ onDismiss = { this . closeDeleteConfirmation . bind ( this ) }
143143 />
144144 }
145145 < Modal
@@ -164,7 +164,7 @@ export class CustomWidgetDetailsModal extends React.Component
164164 Stack >
165165 Stack >
166166 < div className = "admin-modal-content" >
167- { this . state . isEdit &&
167+ { this . state . isEdit &&
168168 < CommandBarButton
169169 iconProps = { deleteIcon }
170170 text = "Delete"
@@ -209,7 +209,7 @@ export class CustomWidgetDetailsModal extends React.Component
209209 < CopyableTextField
210210 fieldLabel = "downloading the code scaffold command"
211211 showLabel = { false }
212- copyableValue = { `npx @azure/api-management-custom-widgets-scaffolder --displayName="${ this . state . customWidget . displayName } " --technology="${ this . state . customWidget . technology } " --openUrl="${ window . location . origin } "` }
212+ copyableValue = { `npx @azure/api-management-custom-widgets-scaffolder@latest --displayName="${ this . state . customWidget . displayName } " --technology="${ this . state . customWidget . technology } " --openUrl="${ window . location . origin } "` }
213213 />
214214 li >
215215 < li >
0 commit comments