Ignore:
Timestamp:
2021-09-15T14:35:57+12:00 (3 years ago)
Author:
cstephen
Message:

Implement cleaner transcription removal transitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItem.vue

    r35405 r35406  
    11<template>
    2     <div class="card" :class="{ 'transform-slideout-up': isDeleted }">
     2    <div class="card">
    33        <!-- Header containing info and actions for the transcription -->
    44        <div class="transcription__header">
     
    9797import TranscriptionItemEditor, { getWords } from "./TranscriptionItemEditor.vue"
    9898import { TranscriptionViewModel } from "../main";
    99 import Util from "../js/Util";
    10099
    101100export default {
     
    110109    data() {
    111110        return {
    112             isDeleted: false,
    113111            showEditor: false,
    114112            showDownloadOptions: false
     
    126124        },
    127125        remove() {
    128             this.isDeleted = true;
    129             // Start our removal animation and give it some time to complete
    130             Util.delay(550).then(() => this.$store.commit("transcriptionRemove", this.transcription.id));
     126            this.$store.commit("transcriptionRemove", this.transcription.id);
    131127        },
    132128        downloadAsText() {
Note: See TracChangeset for help on using the changeset viewer.