improve publicações

This commit is contained in:
Peter Maquiran
2023-01-02 15:42:15 +01:00
parent 3e110c9e93
commit f7aae9aa00
7 changed files with 40 additions and 67 deletions
+8 -14
View File
@@ -163,7 +163,7 @@ export class HomePage implements OnInit {
}
clearTabButtonSelection(){
clearTabButtonSelection() {
this.tabButton.home = false;
this.tabButton.agenda = false;
this.tabButton.gabinete = false;
@@ -179,13 +179,13 @@ export class HomePage implements OnInit {
else if(url == '/home/agenda'){
this.tabButton.agenda = true;
}
else if(url =='/home/gabinete-digital'){
else if(url =='/home/gabinete-digital') {
this.tabButton.gabinete = true;
}
else if(url =='/home/publications'){
else if(url =='/home/publications') {
this.tabButton.actions = true;
}
else if(url == '/home/chat'){
else if(url == '/home/chat') {
this.tabButton.chat = true;
}
else{
@@ -193,17 +193,12 @@ export class HomePage implements OnInit {
}
}
logDeviceInfo = async () => {
logDeviceInfo = async () => {
const info = await Device.getInfo();
};
get pathname(){
return window.location.pathname
}
get color() {
return '#797979'
get pathname() {
return window.location.pathname
}
updateList() {
@@ -266,5 +261,4 @@ export class HomePage implements OnInit {
this.sqliteservice.deleteAllTables();
}
}
}