diff --git a/package.json b/package.json
index 5220f06..f5ad90f 100644
--- a/package.json
+++ b/package.json
@@ -1,9 +1,9 @@
{
"name": "slapdash",
- "version": "1.3.1",
+ "version": "1.4.0",
"author": "Ayush Mukherjee",
"description": "Dashboard for APL-Nuke cum APL-Boost data manager",
- "private": true,
+ "private": false,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
diff --git a/src/components/Brackets.vue b/src/components/Brackets.vue
new file mode 100644
index 0000000..4b3edba
--- /dev/null
+++ b/src/components/Brackets.vue
@@ -0,0 +1,135 @@
+
+streams management
+
+
+
+
+
+ ID |
+ Name |
+ Event |
+ Matches |
+
+
+
+
+ {{ e._id }} |
+ {{ e.name }} |
+ {{ store.state.events.filter(x => x._id === e.event)[0].name }} |
+
+
+
+
+ {{ store.state.matches.filter((x) => x._id === p)[0]?.type || '' }}: {{ store.state.matches.filter((x) => x._id === p)[0]?.blue?.name || '' }} VS {{ store.state.matches.filter((x) => x._id === p)[0]?.orange?.name || '' }} |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/store.js b/src/store.js
index 9046f7c..e303308 100644
--- a/src/store.js
+++ b/src/store.js
@@ -17,6 +17,7 @@ const state = reactive({
hosts: [],
streams: [],
streamsFull: [],
+ brackets: [],
overlayStream: null,
server: false,
})
diff --git a/src/utils/websocket.js b/src/utils/websocket.js
index fa476dc..84a316c 100644
--- a/src/utils/websocket.js
+++ b/src/utils/websocket.js
@@ -14,6 +14,7 @@ const channels = [
'casters',
'hosts',
'streams',
+ 'brackets',
]
const channelEvents = [
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 7255f6e..0df329e 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -9,6 +9,7 @@
Casters
Hosts
Streams
+ Brackets
@@ -33,6 +34,7 @@
+
@@ -46,6 +48,7 @@ import Matches from '@/components/Matches.vue'
import Casters from '@/components/Casters.vue'
import Hosts from '@/components/Hosts.vue'
import Streams from '@/components/Streams.vue'
+import Brackets from '@/components/Brackets.vue'
export default {
components: {
@@ -55,6 +58,7 @@ export default {
Casters,
Hosts,
Streams,
+ Brackets,
},
setup() {
const store = inject('store')