Commit c4882f70 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Fix project-name

parent 27ab1150
...@@ -17,6 +17,7 @@ function initRepo() { ...@@ -17,6 +17,7 @@ function initRepo() {
Store.service = Service; Store.service = Service;
Store.service.url = repo.dataset.url; Store.service.url = repo.dataset.url;
Store.projectName = repo.dataset.projectName;
new Vue({ new Vue({
el: repo, el: repo,
......
...@@ -88,7 +88,7 @@ export default RepoSidebar; ...@@ -88,7 +88,7 @@ export default RepoSidebar;
<tbody> <tbody>
<repo-file-options <repo-file-options
:is-mini="isMini" :is-mini="isMini"
project-name="TODO"/> :project-name="projectName"/>
<repo-previous-directory <repo-previous-directory
:prev-url="prevURL" :prev-url="prevURL"
@linkclicked="linkClicked(prevURL)"/> @linkclicked="linkClicked(prevURL)"/>
......
...@@ -10,6 +10,7 @@ const RepoStore = { ...@@ -10,6 +10,7 @@ const RepoStore = {
editMode: false, editMode: false,
isTree: false, isTree: false,
prevURL: '', prevURL: '',
projectName: '',
trees: [], trees: [],
blobs: [], blobs: [],
submodules: [], submodules: [],
......
#repo{ data: { url: repo_url(@project) } } #repo{ data: { url: repo_url(@project), 'project-name' => @project.name } }
#commit-area{ "v-if" => "changedFiles.length" } #commit-area{ "v-if" => "changedFiles.length" }
%form.form-horizontal %form.form-horizontal
%fieldset %fieldset
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment