Merge branch 'master' of https://github.com/dessalines/lemmy into nocross-nomusl

pull/722/head
Igor Velkov 2019-09-06 23:22:07 +03:00
commit b875b74ce5
3 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,7 @@ services:
volumes: volumes:
- lemmy_db:/var/lib/postgresql/data - lemmy_db:/var/lib/postgresql/data
lemmy: lemmy:
image: dessalines/lemmy:v0.1.0 image: dessalines/lemmy:v0.1.0.3
ports: ports:
- "8536:8536" - "8536:8536"
environment: environment:

View File

@ -107,7 +107,6 @@ export class Main extends Component<any, MainState> {
// Necessary for back button for some reason // Necessary for back button for some reason
componentWillReceiveProps(nextProps: any) { componentWillReceiveProps(nextProps: any) {
if (nextProps.history.action == 'POP' || nextProps.history.action == 'PUSH') { if (nextProps.history.action == 'POP' || nextProps.history.action == 'PUSH') {
this.state = this.emptyState;
this.state.type_ = this.getListingTypeFromProps(nextProps); this.state.type_ = this.getListingTypeFromProps(nextProps);
this.state.sort = this.getSortTypeFromProps(nextProps); this.state.sort = this.getSortTypeFromProps(nextProps);
this.state.page = this.getPageFromProps(nextProps); this.state.page = this.getPageFromProps(nextProps);

2
ui/src/version.ts vendored
View File

@ -1 +1 @@
export let version: string = "v0.1.0-0-g5b91b7b"; export let version: string = "v0.1.0.3-0-gfd8928a";