Skip to content

Commit

Permalink
initial loader event (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
NagendraOpsmx authored Jan 31, 2024
1 parent 3fce8ab commit ac8d1da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ const FlexTopBar = (props: {toolbar: Toolbar | Observable<Toolbar>}) => {
const checkUrlIncludesOpsmx = (param: string) => {
let urlSplit = param?.split('/')
if(urlSplit && urlSplit[urlSplit.length-2] == 'opsmx' && urlSplit[urlSplit.length-1] == 'creation'){
window.parent.postMessage({msg:'loadEvent'},'*');
return true;
}
return false;
Expand Down

0 comments on commit ac8d1da

Please sign in to comment.