@processmaker/modeler 1.42.3 → 1.42.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -401,8 +401,11 @@ export default {
401
401
  },
402
402
  },
403
403
  computed: {
404
+ isPackageAiInstalled() {
405
+ return window.ProcessMaker?.modeler?.isPackageAiInstalled;
406
+ },
404
407
  showWelcomeMessage() {
405
- return !this.selectedNode && !this.nodes.length && !store.getters.isReadOnly && this.isLoaded;
408
+ return !this.selectedNode && !this.nodes.length && !store.getters.isReadOnly && this.isLoaded && this.isPackageAiInstalled;
406
409
  },
407
410
  noElementsSelected() {
408
411
  return this.highlightedNodes.filter(node => !node.isType('processmaker-modeler-process')).length === 0;