Skip to content

Commit

Permalink
fix(Marketplace): don't show public link option to add app
Browse files Browse the repository at this point in the history
also rename sidebar from `Apps` to `Marketplace`
  • Loading branch information
BreadGenie committed Jul 4, 2024
1 parent d696de7 commit c94fbd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dashboard/src2/components/NavigationItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default {
disabled
},
{
name: 'Apps',
name: 'Marketplace',
icon: () => h(App),
route: '/apps',
isActive: routeName.startsWith('Marketplace'),
Expand Down
5 changes: 3 additions & 2 deletions dashboard/src2/components/NewAppDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,14 @@ export default {
tabs: [
{
label: 'Public GitHub App',
value: 'public-github-app'
value: 'public-github-app',
condition: () => !this.showVersionSelector
},
{
label: 'Your GitHub App',
value: 'your-github-app'
}
]
].filter(tab => tab.condition?.() ?? true)
};
},
watch: {
Expand Down

0 comments on commit c94fbd1

Please sign in to comment.