mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix change timeline, publication wont load list
This commit is contained in:
@@ -16,6 +16,8 @@ export class ActiveTabService {
|
||||
gabineteDetails: false
|
||||
}
|
||||
|
||||
updatePublications = () => {}
|
||||
|
||||
constructor(
|
||||
private router: Router,
|
||||
public HeaderSettingsService: HeaderSettingsService) {
|
||||
@@ -47,6 +49,13 @@ export class ActiveTabService {
|
||||
|
||||
} else if (pathName.startsWith('/home/publications')) {
|
||||
this.pages.publication = true
|
||||
if(pathName.includes("/publications/")) {
|
||||
if(this.updatePublications) {
|
||||
this.updatePublications()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else if (pathName.startsWith('/home/chat')) {
|
||||
this.pages.chat = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user