Skip to content

Commit

Permalink
T71154
Browse files Browse the repository at this point in the history
  • Loading branch information
EhsanValiGeeksltd committed May 3, 2024
1 parent 2077167 commit b122446
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/bpmn.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@Geeksltd/visualspec.shared.bpmn-js",
"version": "3.1.6",
"version": "3.1.7",
"description": "bpmn-js module to create bpmn 2 diagram",
"private": false,
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/Extenders/parts/WireframePageUrlProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ function WireframePage(props) {
const debounce = useService('debounceInput');

const getValue = () => {
return element.businessObject.pageUrl || '';
return element.businessObject.$attrs.pageUrl || '';
};

const setValue = value => {
return modeling.updateProperties(element, {
pageUrl: value
pageUrl: value || ''
});
};

Expand Down
7 changes: 5 additions & 2 deletions src/vsbpmn.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,12 @@ export default class vsbpmn{

addOverlay(element)
{
let pageUrl = element.businessObject.$attrs["pageUrl"];
let pageUrl = element.businessObject.$attrs.pageUrl;
if (! pageUrl)
return;
{
this.overlays.clear({element:element});
return;
}
this.overlays.add(element.id, {
position: {
bottom: 0,
Expand Down

0 comments on commit b122446

Please sign in to comment.