feat: integrate tus.io for resumable and chunked uploads (#2145)

This commit is contained in:
Tobias Goerke authored and GitHub committed 2023-07-28 18:15:44 +02:00
1 parent 2744f7d5b9
commit 7b35815754
24 files changed
+694 -66

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ const state = {
show: null,
showShell: false,
showConfirm: null,
showAction: null,
};
export default new Vuex.Store({
+4
View File
@@ -5,6 +5,7 @@ const mutations = {
closeHovers: (state) => {
state.show = null;
state.showConfirm = null;
state.showAction = null;
},
toggleShell: (state) => {
state.showShell = !state.showShell;
@@ -17,6 +18,9 @@ const mutations = {
state.show = value.prompt;
state.showConfirm = value.confirm;
if (value.action !== undefined) {
state.showAction = value.action;
}
},
showError: (state) => {
state.show = "error";