OpenImaging/miqa

Unused debouncing function in Frame.vue?

davidshq opened this issue · 1 comments

There is a debouncing function for the frame slider in Frame.vue:

    debouncedFrameSliderChange(index) {
      const frameId = this.currentScanFrames[index];
      this.$router.push(frameId).catch(this.handleNavigationError);
    },

It is setup using debounce in Frame.vue's created method but never actually called:

  async created() {
    this.debouncedFrameSliderChange = _.debounce(
      this.debouncedFrameSliderChange,
      30,
    );
    const { projectId, frameId } = this.$route.params;
    // ...
}

Curious if this an in-process function that will be utilized or a historical remnant?

Removed in #613