Skip to content

Commit

Permalink
Fixed Styles with Jonathan help
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorGuz2000 committed Sep 4, 2020
1 parent 1fd42ba commit 034a982
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ export function SecurityHostsPageProvider({ getService, getPageObjects }: FtrPro
*/
const parseStyle = (
styles: string
): {
): {
left?: string;
top?: string;
width?: string;
height?: string;
} =>
} =>
styles
.split(';')
.filter((style: string) => style.split(':')[0] && style.split(':')[1])
Expand Down

0 comments on commit 034a982

Please sign in to comment.