mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 17:22:59 -05:00
Agent - dialog finishes (#1910)
* fixed crashes from job dialog and new step dialog group options UI * added placeholder for retry counters * fixed alert general UI * fixed misc dialog errors * localized all strings
This commit is contained in:
@@ -134,8 +134,9 @@ export abstract class ComponentBase extends Disposable implements IComponent, On
|
||||
if (size && typeof (size) === 'string') {
|
||||
if (size.toLowerCase().endsWith('px')) {
|
||||
return +size.replace('px', '');
|
||||
} else if (size.toLowerCase().endsWith('em')) {
|
||||
return +size.replace('em', '') * 11;
|
||||
}
|
||||
|
||||
} else if (!size) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user