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

Fix project-name

parent 27ab1150
......@@ -17,6 +17,7 @@ function initRepo() {
Store.service = Service;
Store.service.url = repo.dataset.url;
Store.projectName = repo.dataset.projectName;
new Vue({
el: repo,
......
......@@ -88,7 +88,7 @@ export default RepoSidebar;
<tbody>
<repo-file-options
:is-mini="isMini"
project-name="TODO"/>
:project-name="projectName"/>
<repo-previous-directory
:prev-url="prevURL"
@linkclicked="linkClicked(prevURL)"/>
......
......@@ -10,6 +10,7 @@ const RepoStore = {
editMode: false,
isTree: false,
prevURL: '',
projectName: '',
trees: [],
blobs: [],
submodules: [],
......
#repo{ data: { url: repo_url(@project) } }
#repo{ data: { url: repo_url(@project), 'project-name' => @project.name } }
#commit-area{ "v-if" => "changedFiles.length" }
%form.form-horizontal
%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