diff --git a/helpers/utils/composables.ts b/helpers/utils/composables.ts index ee903943f..2360885c6 100644 --- a/helpers/utils/composables.ts +++ b/helpers/utils/composables.ts @@ -98,15 +98,15 @@ export function useStreamSubscriber() { const runAndSubscribe = ( stream: Observable, - next: (value: T) => void, - error: (e: any) => void, - complete: () => void + next?: (value: T) => void, + error?: (e: any) => void, + complete?: () => void ) => { const sub = stream.subscribe({ next, error, complete: () => { - complete() + if (complete) complete() subs.splice(subs.indexOf(sub), 1) }, }) diff --git a/pages/index.vue b/pages/index.vue index b8271a12c..14d329333 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -29,218 +29,7 @@ - -
    -
  • -
    - -
    - -
    -
    - - - -
  • -
-
    -
  • - -
  • -
  • - -
  • -
    -
  • - -
  • -
    -
-
    -
  • -
    - - - -
    -
  • -
-
- - {{ $t("include_in_url") }} - -
-
- - -
    -
  • -
    - -
    - - - -
    -
    - -
  • -
-
    -
  • - - -
  • -
-
    -
  • - - -
  • -
-
    -
  • - - -
  • -
-
    -
  • - - -
  • -
-
    -
  • - - -
  • -
-
    -
  • - -
  • -
-
+
- - - - - - - - -