Added links to delete and edit the server when a server could not be reached

This commit is contained in:
Alejandro Celaya
2020-03-15 09:17:33 +01:00
parent dab75ab6a9
commit f44ec42f51
10 changed files with 75 additions and 49 deletions

View File

@@ -49,7 +49,7 @@ export const selectServer = ({ findServerById }, buildShlinkApiClient) => (serve
} catch (e) {
dispatch({
type: SELECT_SERVER,
selectedServer: { serverNotReachable: true },
selectedServer: { ...selectedServer, serverNotReachable: true },
});
}
};