Clean up code
This commit is contained in:
parent
c5fea80ab4
commit
b7e4d3eb53
|
|
@ -35,12 +35,6 @@
|
||||||
let urlWithFilename = fileInfo.cdnUrl + fileInfo.name;
|
let urlWithFilename = fileInfo.cdnUrl + fileInfo.name;
|
||||||
this.$emit('link-change-url', urlWithFilename);
|
this.$emit('link-change-url', urlWithFilename);
|
||||||
});
|
});
|
||||||
|
|
||||||
result.progress(p => {
|
|
||||||
});
|
|
||||||
|
|
||||||
result.fail(uploadResult => {
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -267,7 +267,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__submission {
|
&__submission {
|
||||||
/*margin-bottom: 12px;*/
|
|
||||||
@include input-box-shadow;
|
@include input-box-shadow;
|
||||||
background-color: $color-white;
|
background-color: $color-white;
|
||||||
border-radius: $input-border-radius;
|
border-radius: $input-border-radius;
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,6 @@
|
||||||
|
|
||||||
&__save-status {
|
&__save-status {
|
||||||
position: relative;
|
position: relative;
|
||||||
/*width: 50px;*/
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,11 +19,5 @@ export const uploadcare = (component, callback) => { // callback with signature
|
||||||
let urlWithFilename = fileInfo.cdnUrl + fileInfo.name;
|
let urlWithFilename = fileInfo.cdnUrl + fileInfo.name;
|
||||||
callback(urlWithFilename);
|
callback(urlWithFilename);
|
||||||
});
|
});
|
||||||
|
|
||||||
panelResult.progress(p => {
|
|
||||||
});
|
|
||||||
|
|
||||||
panelResult.fail(uploadResult => {
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue