reset compose state after success
This commit is contained in:
parent
e5a05a9210
commit
a8bef0faab
@ -92,6 +92,7 @@ function statusToTextMentions(state, status) {
|
|||||||
|
|
||||||
function clearAll(state) {
|
function clearAll(state) {
|
||||||
return state.withMutations(map => {
|
return state.withMutations(map => {
|
||||||
|
map.set('id', null);
|
||||||
map.set('text', '');
|
map.set('text', '');
|
||||||
map.set('spoiler', false);
|
map.set('spoiler', false);
|
||||||
map.set('spoiler_text', '');
|
map.set('spoiler_text', '');
|
||||||
|
Loading…
Reference in New Issue
Block a user