mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-09 05:09:39 +00:00
- Add Chart Preview - Add Drum Type dropdown when the "drums" instrument is selected - Add Min/Max Year to advanced search - Add Track Hash to advanced search - Add "Download Video Backgrounds" setting - Updated and improved detected chart issues
24 lines
847 B
TypeScript
24 lines
847 B
TypeScript
import { NgModule } from '@angular/core'
|
|
import { RouteReuseStrategy, RouterModule, Routes } from '@angular/router'
|
|
|
|
import { BrowseComponent } from './components/browse/browse.component'
|
|
import { SettingsComponent } from './components/settings/settings.component'
|
|
import { TabPersistStrategy } from './core/tab-persist.strategy'
|
|
|
|
const routes: Routes = [
|
|
{ path: 'browse', component: BrowseComponent, data: { shouldReuse: true } },
|
|
{ path: 'library', redirectTo: '/browse' },
|
|
{ path: 'settings', component: SettingsComponent, data: { shouldReuse: true } },
|
|
{ path: 'about', redirectTo: '/browse' },
|
|
{ path: '**', redirectTo: '/browse' },
|
|
]
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forRoot(routes)],
|
|
exports: [RouterModule],
|
|
providers: [
|
|
{ provide: RouteReuseStrategy, useClass: TabPersistStrategy },
|
|
],
|
|
})
|
|
export class AppRoutingModule { }
|