Skip to content

Commit

Permalink
Remove reference to Borg screens.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderson1993 committed Jun 23, 2018
1 parent 50a37d0 commit e061cde
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 25 deletions.
1 change: 0 additions & 1 deletion server/events/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ App.on("triggerAction", args => {
case "power":
case "lockdown":
case "maintenance":
case "borg":
case "soviet":
App.clients
.filter(
Expand Down
16 changes: 1 addition & 15 deletions src/components/macros/triggerAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,7 @@ export default ({ updateArgs, args, client }) => {
<option value="power">Power Loss</option>
<option value="lockdown">Lockdown</option>
<option value="maintenance">Maintenance</option>
<option value="borg" disabled>
Borg
</option>
<option value="soviet" disabled>
Soviet
</option>
<option value="-" disabled>
-
</option>
<option value="crm" disabled>
Crm
</option>
<option value="thx" disabled>
Thx
</option>
<option value="soviet">Soviet</option>
</Input>
</FormGroup>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/views/Actions/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ class ActionsCore extends Component {
<option value="power">Power Loss</option>
<option value="lockdown">Lockdown</option>
<option value="maintenance">Maintenance</option>
<option value="borg">Borg</option>
<option value="soviet">Soviet</option>
</optgroup>
<optgroup>
Expand Down
6 changes: 0 additions & 6 deletions src/components/views/Offline/borg.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/views/Offline/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from "react";
import "./style.css";
import Soviet from "./soviet";
import Borg from "./borg";

const Offline = props => {
// Messages go here
Expand Down Expand Up @@ -30,7 +29,6 @@ const Offline = props => {
};
const message = props.message || messages[props.clientObj.offlineState] || {};
if (props.clientObj.offlineState === "soviet") return <Soviet />;
if (props.clientObj.offlineState === "borg") return <Borg />;
return (
<div>
{props.clientObj.offlineState === "blackout" && (
Expand Down

0 comments on commit e061cde

Please sign in to comment.