frontend/src/components/rule/NewRule.vue in mihari-5.5.0 vs frontend/src/components/rule/NewRule.vue in mihari-5.6.0
- old
+ new
@@ -1,21 +1,18 @@
<template>
<div class="column">
<h2 class="is-size-2 mb-4">New rule</h2>
-
<InputForm v-model:yaml="yaml" @update-yaml="updateYAML"></InputForm>
-
<div class="field is-grouped is-grouped-centered">
<p class="control">
<a class="button is-primary" @click="create">
<span class="icon is-small">
<font-awesome-icon icon="plus"></font-awesome-icon>
</span>
<span>Create</span>
</a>
</p>
</div>
-
<div v-if="createRuleTask.last?.error">
<hr />
<ErrorMessage :error="createRuleTask.last?.error"></ErrorMessage>
</div>
</div>