{this.state.info[server.id].name}
{' administered by '}
@@ -395,14 +395,14 @@ var api_management = createReactClass({
{ this.state.info[server.id].status == 'badversion' ?
This server supports an incompatible version of the API! : null
}
-
+ >
);
},
renderServerAllowedData: function(server) {
if (this.state.editing_server && server.id == this.state.editing_server.id) {
return (
-
+ <>
-
+ >
);
} else {
if (!server.allow_stats && !server.allow_scores) {
diff --git a/bemani/frontend/static/controllers/admin/arcades.react.js b/bemani/frontend/static/controllers/admin/arcades.react.js
index a5f63e1..ce43b1f 100644
--- a/bemani/frontend/static/controllers/admin/arcades.react.js
+++ b/bemani/frontend/static/controllers/admin/arcades.react.js
@@ -94,7 +94,7 @@ var card_management = createReactClass({
if(this.state.editing_arcade) {
if (this.state.editing_arcade.id == arcade.id) {
return (
-
+ <>
-
+ >
);
} else {
- return
;
+ return null;
}
} else {
return (
-
+ <>
-
+ >
);
}
},
diff --git a/bemani/frontend/static/controllers/admin/cards.react.js b/bemani/frontend/static/controllers/admin/cards.react.js
index f6cdd06..16d0ae4 100644
--- a/bemani/frontend/static/controllers/admin/cards.react.js
+++ b/bemani/frontend/static/controllers/admin/cards.react.js
@@ -91,15 +91,15 @@ var card_management = createReactClass({
renderEditButton: function(card) {
return (
-
-
+ >
);
},
diff --git a/bemani/frontend/static/controllers/admin/machines.react.js b/bemani/frontend/static/controllers/admin/machines.react.js
index 5ad605c..663c430 100644
--- a/bemani/frontend/static/controllers/admin/machines.react.js
+++ b/bemani/frontend/static/controllers/admin/machines.react.js
@@ -244,7 +244,7 @@ var machine_management = createReactClass({
};
return (
-
+ <>
{extra}
-
+ >
);
} else {
if (machine.game == 'any') {
@@ -325,20 +325,18 @@ var machine_management = createReactClass({
renderArcade: function(machine) {
if (this.state.editing_machine && machine.pcbid == this.state.editing_machine.pcbid) {
return (
-
-
-
+
);
} else {
if (machine.arcade) {
@@ -397,7 +395,7 @@ var machine_management = createReactClass({
if (this.state.editing_machine) {
if (this.state.editing_machine.pcbid == machine.pcbid) {
return (
-
+ <>
-
+ >
);
} else {
- return
;
+ return null;
}
} else {
return (
-
+ <>
-
+ >
);
}
},
diff --git a/bemani/frontend/static/controllers/admin/news.react.js b/bemani/frontend/static/controllers/admin/news.react.js
index bff9e4d..6db3bf3 100644
--- a/bemani/frontend/static/controllers/admin/news.react.js
+++ b/bemani/frontend/static/controllers/admin/news.react.js
@@ -153,7 +153,7 @@ var news_management = createReactClass({
if (this.state.editing_news) {
if (this.state.editing_news.id == entry.id) {
return (
-
+ <>
-
+ >
);
} else {
- return
;
+ return null;
}
} else {
return (
-
+ <>
-
+ >
);
}
},
diff --git a/bemani/frontend/static/controllers/admin/user.react.js b/bemani/frontend/static/controllers/admin/user.react.js
index 3842855..504e299 100644
--- a/bemani/frontend/static/controllers/admin/user.react.js
+++ b/bemani/frontend/static/controllers/admin/user.react.js
@@ -195,7 +195,7 @@ var user_management = createReactClass({
return (
{
!this.state.editing_username ?
-
+ <>
{
this.state.username ?
{ this.state.username } :
@@ -206,7 +206,7 @@ var user_management = createReactClass({
this.setState({editing_username: true});
}.bind(this)}
/>
- :
+ > :