Skip to content

Commit

Permalink
Fix empty plugins issue and vue loading, prep release
Browse files Browse the repository at this point in the history
  • Loading branch information
jomann09 committed Feb 15, 2023
1 parent dd686b5 commit 1f200b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcagent/step2.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
}

?>
<?php if (!is_dev_mode()) { ?>
<?php if (is_dev_mode()) { ?>
<script src="https://unpkg.com/vue@3.2.47/dist/vue.global.js"></script>
<?php } else { ?>
<script src="<?php echo get_base_url(true); ?>includes/configwizards/rcagent/js/vue.3.2.47.prod.js"></script>
Expand Down Expand Up @@ -587,7 +587,7 @@
<h4 class="modal-title">Select Plugin</h4>
</div>
<div class="modal-body">
<div v-if="pluginsAvailable.length > 0 ">
<div v-if="pluginsAvailable && pluginsAvailable.length > 0">
<select style="width: 100%;" v-model="selectedPlugin" class="form-control">
<option v-for="p in pluginsAvailable" :value="p">{{ p }}</option>
</select>
Expand Down

0 comments on commit 1f200b2

Please sign in to comment.