~emersion/gamja

4db845a4b1907ba70fbb6c4a6614280bab7988cc — Simon Ser 10 days ago eef2093
Show again connect form when last server is closed
1 files changed, 7 insertions(+), 1 deletions(-)

M components/app.js
M components/app.js => components/app.js +7 -1
@@ 829,7 829,13 @@ export default class App extends Component {
			this.setState((state) => {
				var servers = new Map(state.servers);
				servers.delete(buf.server);
				return { servers };

				var connectForm = state.connectForm;
				if (servers.size == 0) {
					connectForm = true;
				}

				return { servers, connectForm };
			});

			if (disconnectAll) {