@action
    removeFileByName(name) {
        const toRemove = find(this.files, {name});
        if (toRemove) this.files = without(this.files, toRemove);
    }
/**
     * Remove a single file from the current selection.
     * @param {string} name - name of the file to remove.
     */
Remove a single file from the current selection.
@param {string} name - name of the file to remove.
Remove a single file from the current selection . @param { string } name - name of the file to remove .
@action
    removeFileByName(name) {
        const toRemove = find(this.files, {name});
        if (toRemove) this.files = without(this.files, toRemove);
    }
@ action removeFileByName ( name ) { const toRemove = find ( this . files , { name } ) ; if ( toRemove ) this . files = without ( this . files , toRemove ) ; }
Remove a single file from the current selection.
Remove a single file from the current selection .