From bdac5569b10b4dde32a7ac98973da2805f42e92d Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Thu, 26 Oct 2017 16:44:26 +0100 Subject: [PATCH] fixed some state bugs with the tabs [ci skip] --- .../repo/components/new_dropdown/index.vue | 7 ------ .../repo/components/new_dropdown/modal.vue | 21 ++++++++++------ .../repo/components/repo_editor.vue | 4 +++- .../repo/components/repo_file_buttons.vue | 8 ------- .../javascripts/repo/components/repo_tab.vue | 6 ++--- app/assets/javascripts/repo/stores/actions.js | 14 ++++++++--- .../javascripts/repo/stores/actions/file.js | 24 +++++++++++++++---- .../javascripts/repo/stores/actions/tree.js | 1 + app/assets/javascripts/repo/stores/state.js | 2 +- app/views/shared/repo/_repo.html.haml | 4 +--- 10 files changed, 53 insertions(+), 38 deletions(-) diff --git a/app/assets/javascripts/repo/components/new_dropdown/index.vue b/app/assets/javascripts/repo/components/new_dropdown/index.vue index 96b2087e1b9..53baa02c344 100644 --- a/app/assets/javascripts/repo/components/new_dropdown/index.vue +++ b/app/assets/javascripts/repo/components/new_dropdown/index.vue @@ -1,5 +1,4 @@