mirror of
https://github.com/NicolasConstant/sengi
synced 2025-02-09 00:18:44 +01:00
fix html binding
This commit is contained in:
parent
628b3e3f1f
commit
58a05e2b72
@ -7,6 +7,7 @@ import { FavoriteResult, BookmarkResult } from '../../../../services/mastodon.se
|
||||
import { MastodonWrapperService } from '../../../../services/mastodon-wrapper.service';
|
||||
import { Status } from '../../../../services/models/mastodon.interfaces';
|
||||
import { NotificationService } from '../../../../services/notification.service';
|
||||
import { TimeLineModeEnum } from '../../../../states/settings.state';
|
||||
|
||||
@Component({
|
||||
selector: 'app-bookmarks',
|
||||
@ -21,6 +22,8 @@ export class BookmarksComponent implements OnInit {
|
||||
hasContentWarnings = false;
|
||||
|
||||
bufferStream: Status[] = []; //html compatibility only
|
||||
streamPositionnedAtTop: boolean = true; //html compatibility only
|
||||
timelineLoadingMode: TimeLineModeEnum = TimeLineModeEnum.OnTop; //html compatibility only
|
||||
|
||||
@Output() browseAccountEvent = new EventEmitter<string>();
|
||||
@Output() browseHashtagEvent = new EventEmitter<string>();
|
||||
|
@ -7,6 +7,7 @@ import { FavoriteResult } from '../../../../services/mastodon.service';
|
||||
import { MastodonWrapperService } from '../../../../services/mastodon-wrapper.service';
|
||||
import { Status } from '../../../../services/models/mastodon.interfaces';
|
||||
import { NotificationService } from '../../../../services/notification.service';
|
||||
import { TimeLineModeEnum } from '../../../../states/settings.state';
|
||||
|
||||
@Component({
|
||||
selector: 'app-favorites',
|
||||
@ -21,6 +22,8 @@ export class FavoritesComponent implements OnInit {
|
||||
hasContentWarnings = false;
|
||||
|
||||
bufferStream: Status[] = []; //html compatibility only
|
||||
streamPositionnedAtTop: boolean = true; //html compatibility only
|
||||
timelineLoadingMode: TimeLineModeEnum = TimeLineModeEnum.OnTop; //html compatibility only
|
||||
|
||||
@Output() browseAccountEvent = new EventEmitter<string>();
|
||||
@Output() browseHashtagEvent = new EventEmitter<string>();
|
||||
|
@ -8,6 +8,7 @@ import { Status, Notification } from '../../../../services/models/mastodon.inter
|
||||
import { MastodonWrapperService } from '../../../../services/mastodon-wrapper.service';
|
||||
import { NotificationService } from '../../../../services/notification.service';
|
||||
import { OpenThreadEvent, ToolsService } from '../../../../services/tools.service';
|
||||
import { TimeLineModeEnum } from '../../../../states/settings.state';
|
||||
|
||||
|
||||
@Component({
|
||||
@ -23,6 +24,8 @@ export class MentionsComponent implements OnInit, OnDestroy {
|
||||
hasContentWarnings = false;
|
||||
|
||||
bufferStream: Status[] = []; //html compatibility only
|
||||
streamPositionnedAtTop: boolean = true; //html compatibility only
|
||||
timelineLoadingMode: TimeLineModeEnum = TimeLineModeEnum.OnTop; //html compatibility only
|
||||
|
||||
@Output() browseAccountEvent = new EventEmitter<string>();
|
||||
@Output() browseHashtagEvent = new EventEmitter<string>();
|
||||
|
@ -25,7 +25,7 @@ export class StreamStatusesComponent implements OnInit, OnDestroy {
|
||||
displayError: string;
|
||||
hasContentWarnings = false;
|
||||
|
||||
private timelineLoadingMode: TimeLineModeEnum;
|
||||
timelineLoadingMode: TimeLineModeEnum;
|
||||
|
||||
private _streamElement: StreamElement;
|
||||
private account: AccountInfo;
|
||||
|
@ -11,6 +11,7 @@ import { StatusWrapper } from '../../../models/common.model';
|
||||
import { StatusComponent } from '../status/status.component';
|
||||
import scrollIntoView from 'scroll-into-view-if-needed';
|
||||
import { UserNotificationService, UserNotification } from '../../../services/user-notification.service';
|
||||
import { TimeLineModeEnum } from '../../../states/settings.state';
|
||||
|
||||
@Component({
|
||||
selector: 'app-thread',
|
||||
@ -26,6 +27,8 @@ export class ThreadComponent implements OnInit, OnDestroy {
|
||||
private remoteStatusFetchingDisabled = false;
|
||||
|
||||
bufferStream: Status[] = []; //html compatibility only
|
||||
streamPositionnedAtTop: boolean = true; //html compatibility only
|
||||
timelineLoadingMode: TimeLineModeEnum = TimeLineModeEnum.OnTop; //html compatibility only
|
||||
|
||||
private lastThreadEvent: OpenThreadEvent;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user