mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Merge branch 'dev'
This commit is contained in:
commit
fb82fccd82
@ -0,0 +1 @@
|
|||||||
|
insert into user_ (name, fedi_name, password_encrypted) values ('admin', 'TBD', 'TBD');
|
1
server/migrations/2019-06-01-222649_remove_admin/up.sql
Normal file
1
server/migrations/2019-06-01-222649_remove_admin/up.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
delete from user_ where name like 'admin';
|
@ -71,6 +71,7 @@ export class Main extends Component<any, MainState> {
|
|||||||
super(props, context);
|
super(props, context);
|
||||||
|
|
||||||
this.state = this.emptyState;
|
this.state = this.emptyState;
|
||||||
|
this.handleEditCancel = this.handleEditCancel.bind(this);
|
||||||
|
|
||||||
this.subscription = WebSocketService.Instance.subject
|
this.subscription = WebSocketService.Instance.subject
|
||||||
.pipe(retryWhen(errors => errors.pipe(delay(3000), take(10))))
|
.pipe(retryWhen(errors => errors.pipe(delay(3000), take(10))))
|
||||||
|
@ -115,7 +115,7 @@ export class Sidebar extends Component<SidebarProps, SidebarState> {
|
|||||||
<li class="list-inline-item"><Link class="text-info" to={`/u/${mod.user_name}`}>{mod.user_name}</Link></li>
|
<li class="list-inline-item"><Link class="text-info" to={`/u/${mod.user_name}`}>{mod.user_name}</Link></li>
|
||||||
)}
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
<Link class="btn btn-sm btn-secondary btn-block mb-3"
|
<Link class={`btn btn-sm btn-secondary btn-block mb-3 ${(community.deleted || community.removed) && 'no-click'}`}
|
||||||
to={`/create_post/c/${community.name}`}>Create a Post</Link>
|
to={`/create_post/c/${community.name}`}>Create a Post</Link>
|
||||||
<div>
|
<div>
|
||||||
{community.subscribed
|
{community.subscribed
|
||||||
|
Loading…
Reference in New Issue
Block a user