| 
														
															@@ -35,6 +35,23 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						> 
														 | 
														
														 | 
														
															 						> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 							settings 
														 | 
														
														 | 
														
															 							settings 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 						</button> 
														 | 
														
														 | 
														
															 						</button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						<quick-confirm 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							@confirm="remove(slotProps.item._id)" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							:disabled="slotProps.item.removed" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							<button 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								class=" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+									button 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+									is-danger 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+									icon-with-button 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+									material-icons 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								content="Remove Station" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								v-tippy 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+								delete_forever 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+							</button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+						</quick-confirm> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					</div> 
														 | 
														
														 | 
														
															 					</div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				</template> 
														 | 
														
														 | 
														
															 				</template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				<template #column-_id="slotProps"> 
														 | 
														
														 | 
														
															 				<template #column-_id="slotProps"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -116,7 +133,10 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { mapState, mapActions, mapGetters } from "vuex"; 
														 | 
														
														 | 
														
															 import { mapState, mapActions, mapGetters } from "vuex"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { defineAsyncComponent } from "vue"; 
														 | 
														
														 | 
														
															 import { defineAsyncComponent } from "vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import Toast from "toasters"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import AdvancedTable from "@/components/AdvancedTable.vue"; 
														 | 
														
														 | 
														
															 import AdvancedTable from "@/components/AdvancedTable.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import QuickConfirm from "@/components/QuickConfirm.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import UserIdToUsername from "@/components/UserIdToUsername.vue"; 
														 | 
														
														 | 
														
															 import UserIdToUsername from "@/components/UserIdToUsername.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import RunJobDropdown from "@/components/RunJobDropdown.vue"; 
														 | 
														
														 | 
														
															 import RunJobDropdown from "@/components/RunJobDropdown.vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -144,6 +164,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			import("@/components/modals/CreateStation.vue") 
														 | 
														
														 | 
														
															 			import("@/components/modals/CreateStation.vue") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		), 
														 | 
														
														 | 
														
															 		), 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		AdvancedTable, 
														 | 
														
														 | 
														
															 		AdvancedTable, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		QuickConfirm, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		UserIdToUsername, 
														 | 
														
														 | 
														
															 		UserIdToUsername, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		RunJobDropdown 
														 | 
														
														 | 
														
															 		RunJobDropdown 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	}, 
														 | 
														
														 | 
														
															 	}, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -162,13 +183,13 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			columns: [ 
														 | 
														
														 | 
														
															 			columns: [ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				{ 
														 | 
														
														 | 
														
															 				{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					name: "options", 
														 | 
														
														 | 
														
															 					name: "options", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					displayName: "Edit", 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					displayName: "Options", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					properties: ["_id"], 
														 | 
														
														 | 
														
															 					properties: ["_id"], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					sortable: false, 
														 | 
														
														 | 
														
															 					sortable: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					hidable: false, 
														 | 
														
														 | 
														
															 					hidable: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					resizable: false, 
														 | 
														
														 | 
														
															 					resizable: false, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					minWidth: 51, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-					defaultWidth: 51 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					minWidth: 85, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+					defaultWidth: 85 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				}, 
														 | 
														
														 | 
														
															 				}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				{ 
														 | 
														
														 | 
														
															 				{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 					name: "_id", 
														 | 
														
														 | 
														
															 					name: "_id", 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -329,20 +350,18 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			socket: "websockets/getSocket" 
														 | 
														
														 | 
														
															 			socket: "websockets/getSocket" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		}) 
														 | 
														
														 | 
														
															 		}) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	}, 
														 | 
														
														 | 
														
															 	}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	mounted() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		// TODO 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		// this.socket.on("event:admin.station.created", res => 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		// 	this.stationAdded(res.data.station) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		// ); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		// this.socket.on("event:admin.station.deleted", res => 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		// 	this.stationRemoved(res.data.stationId) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-		// ); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-	}, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	methods: { 
														 | 
														
														 | 
														
															 	methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		edit(stationId) { 
														 | 
														
														 | 
														
															 		edit(stationId) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			this.editingStationId = stationId; 
														 | 
														
														 | 
														
															 			this.editingStationId = stationId; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			this.openModal("manageStation"); 
														 | 
														
														 | 
														
															 			this.openModal("manageStation"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		}, 
														 | 
														
														 | 
														
															 		}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		remove(stationId) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			this.socket.dispatch( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				"stations.remove", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				stationId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+				res => new Toast(res.message) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+			); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+		}, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		...mapActions("modalVisibility", ["openModal"]) 
														 | 
														
														 | 
														
															 		...mapActions("modalVisibility", ["openModal"]) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 	} 
														 | 
														
														 | 
														
															 	} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }; 
														 | 
														
														 | 
														
															 }; 
														 |