diff --git a/client/src/app/components/profile/profile.component.ts b/client/src/app/components/profile/profile.component.ts index 3e62bcc..37a7e47 100644 --- a/client/src/app/components/profile/profile.component.ts +++ b/client/src/app/components/profile/profile.component.ts @@ -92,16 +92,16 @@ export class ProfileComponent extends BasePageComponent const searchBox = document.getElementById('slug-box'); - const typeahead = fromEvent(searchBox, 'input').pipe( - map((e: KeyboardEvent) => e.target.value), - filter((text) => text.length > 2), - debounceTime(10), - distinctUntilChanged(), - switchMap((v) => this.onSlugChanged(v)) - ); - typeahead.subscribe((data) => { - // Handle the data from the API - }); + // const typeahead = fromEvent(searchBox, 'input').pipe( + // map((e: KeyboardEvent) => e.target.value), + // filter((text) => text.length > 2), + // debounceTime(10), + // distinctUntilChanged(), + // switchMap((v) => this.onSlugChanged(v)) + // ); + // typeahead.subscribe((data) => { + // // Handle the data from the API + // }); } private _parseImageData(file: File) { @@ -113,7 +113,7 @@ export class ProfileComponent extends BasePageComponent }; myReader.readAsDataURL(file); } - onSlugChanged(slug: string) : boolean { + onSlugChanged(slug: string) { this._service.checkSlug(slug).subscribe((v) => { console.log('profile.component.ts', 'onSlugChanged', v); if (v) this.slugError = ''; diff --git a/server/Models/ViewModels/Resources/EntryViewModel.cs b/server/Models/ViewModels/Resources/EntryViewModel.cs index 4427d0c..d53bf6e 100644 --- a/server/Models/ViewModels/Resources/EntryViewModel.cs +++ b/server/Models/ViewModels/Resources/EntryViewModel.cs @@ -17,6 +17,6 @@ namespace PodNoms.Api.Models.ViewModels { public bool Processed { get; set; } public string ProcessingPayload { get; set; } public int PodcastId { get; set; } - public PodcastViewModel Podcast { get; set; } + // public PodcastViewModel Podcast { get; set; } } } \ No newline at end of file