mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
ML extension - revised button component (#12674)
* Revert "Revert "ML extension updates (#11817)" (#12645)"
This reverts commit 34a6200a47.
* Modified button template and renamed infoButton ElementRef
* fix rendering issue
* Minor code cleanup.
* add clean up previous button logic
Co-authored-by: Alan Ren <alanren@microsoft.com>
This commit is contained in:
@@ -539,6 +539,7 @@ export function createAdsApiFactory(accessor: ServicesAccessor): IAdsExtensionAp
|
||||
|
||||
return {
|
||||
accounts,
|
||||
ButtonType: sqlExtHostTypes.ButtonType,
|
||||
connection,
|
||||
credentials,
|
||||
objectexplorer: objectExplorer,
|
||||
|
||||
@@ -862,3 +862,9 @@ export enum SqlAssessmentResultItemKind {
|
||||
Warning = 1,
|
||||
Error = 2
|
||||
}
|
||||
|
||||
export enum ButtonType {
|
||||
File = 'File',
|
||||
Normal = 'Normal',
|
||||
Informational = 'Informational'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user