mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 17:23:10 -05:00
Adding properties view and action bar to graph and fixing styling. (#18185)
* Adding properties view and action bar to graph. * Open Graph File * replacing innerhtml with innertext * Fixing floating promises * Fixed typo * renaming * Fixing hardcoded colors and comments * Removing todo and hardcoded colors * renaming method * removed unused contract * Fixed path in comment * converting div to button * adding checks to table width and height setter * Make method name more meaningful * adding method return types * concising repeated logic * removing unused styling * better sorting logic * Fixing graph parsing Renaming some stuff Implementing IDisposable * Fixing bad props logic * Fixed image loading issue * Removing hardcoded colors * Adding comments to localize and handling undefined cases in sort * Changed ch to px * moving util function to strings
This commit is contained in:
@@ -71,3 +71,10 @@ export function endsWith(haystack: string, needle: string): boolean {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove line breaks/eols from a string across different operating systems.
|
||||
*/
|
||||
export function removeLineBreaks(str: string): string {
|
||||
return str.replace(/(\r\n|\n|\r)/gm, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user