Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/projects/commit/store/state.js')
-rw-r--r--app/assets/javascripts/projects/commit/store/state.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/projects/commit/store/state.js b/app/assets/javascripts/projects/commit/store/state.js
new file mode 100644
index 00000000000..78c294324df
--- /dev/null
+++ b/app/assets/javascripts/projects/commit/store/state.js
@@ -0,0 +1,13 @@
+export default () => ({
+ endpoint: null,
+ branchesEndpoint: null,
+ isFetching: false,
+ branches: [],
+ selectedBranch: '',
+ pushCode: false,
+ branchCollaboration: false,
+ modalTitle: '',
+ existingBranch: '',
+ defaultBranch: '',
+ branch: '',
+});