+
Dashboard
diff --git a/ui/src/views/ReactionView.vue b/ui/src/views/ReactionView.vue
index fcebb2a..26d5ceb 100644
--- a/ui/src/views/ReactionView.vue
+++ b/ui/src/views/ReactionView.vue
@@ -2,6 +2,7 @@
import ThreeColumn from '@/components/layout/ThreeColumn.vue'
import ReactionDisplay from '@/components/reaction/ReactionDisplay.vue'
import ReactionList from '@/components/reaction/ReactionList.vue'
+import ReactionNew from '@/components/reaction/ReactionNew.vue'
import { computed, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
@@ -29,6 +30,7 @@ onMounted(() => {
No reaction selected
+
diff --git a/ui/ui_test.go b/ui/ui_test.go
index 3787d38..5d6531f 100644
--- a/ui/ui_test.go
+++ b/ui/ui_test.go
@@ -1,4 +1,4 @@
-package ui
+package ui_test
import (
"io/fs"
@@ -6,9 +6,13 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
+
+ "github.com/SecurityBrewery/catalyst/ui"
)
func TestUI(t *testing.T) {
+ t.Parallel()
+
tests := []struct {
name string
wantFiles []string
@@ -22,7 +26,9 @@ func TestUI(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- got := UI()
+ t.Parallel()
+
+ got := ui.UI()
var gotFiles []string
diff --git a/webhook/webhooks.go b/webhook/webhooks.go
index 2d36733..d4156cf 100644
--- a/webhook/webhooks.go
+++ b/webhook/webhooks.go
@@ -21,9 +21,9 @@ import (
const webhooksCollection = "webhooks"
type Webhook struct {
- ID string `db:"id" json:"id"`
- Name string `db:"name" json:"name"`
- Collection string `db:"collection" json:"collection"`
+ ID string `db:"id" json:"id"`
+ Name string `db:"name" json:"name"`
+ Collection string `db:"collection" json:"collection"`
Destination string `db:"destination" json:"destination"`
}