Skip to content

Commit

Permalink
fix the problem of renaming the project from project settings view
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Aug 23, 2024
1 parent 61adacb commit 18bbae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/project/ProjectSettingsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export default defineComponent({
this.$router.push({
name: 'project',
params: {
projectName: this.newProjectName,
projectname: this.newProjectName,
},
});
},
Expand Down
8 changes: 4 additions & 4 deletions src/pages/Project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</q-btn>
<div v-if="isAllowdedToSync && syncGithubRepo">
<GithubOptions
:projectName="name"
:projectName="projectName"
:repositoryName="syncGithubRepo"
:key="reload"
@pulled="loadProjectData"
Expand Down Expand Up @@ -91,7 +91,7 @@
></ProjectTable>
</q-tab-panel>
<q-tab-panel class="q-pa-none" name="grew">
<GrewSearch :search-scope="name" :samples="samples" @reload="loadProjectData" />
<GrewSearch :search-scope="projectName" :samples="samples" @reload="loadProjectData" />
</q-tab-panel>
<q-tab-panel class="q-pa-none" name="parser">
<ParsingPanel :samples="samples" :parentGetProjectSamples="getProjectSamples"></ParsingPanel>
Expand All @@ -110,11 +110,11 @@
</q-card>
<q-dialog v-model="syncGithubDial">
<q-card style="min-width: 50vw">
<GithubSyncDialog :projectName="name" @created="loadAfterGithubSync()" />
<GithubSyncDialog :projectName="projectName" @created="loadAfterGithubSync()" />
</q-card>
</q-dialog>
<q-dialog v-model="projectSettingsDial">
<ProjectSettingsView :projectName="name" :samples="samples" />
<ProjectSettingsView :projectName="projectName" :samples="samples" />
</q-dialog>
<UploadDialog v-model:uploadDial="uploadDial" :samples="samples" @uploaded:sample="loadProjectData()" />
</div>
Expand Down

0 comments on commit 18bbae0

Please sign in to comment.