forked from CIT/Vmeda.Online
		
	
						commit
						1af3515344
					
				| @ -21,8 +21,6 @@ COPY . /app | ||||
| # Install npm libraries and run gulp to initialize the project. | ||||
| RUN npm install && gulp && rm -rf /root/.npm | ||||
| 
 | ||||
| RUN ionic info | ||||
| 
 | ||||
| # Provide a Healthcheck command for easier use in CI. | ||||
| HEALTHCHECK --interval=10s --timeout=3s --start-period=30s CMD curl -f http://localhost:8100 || exit 1 | ||||
| 
 | ||||
|  | ||||
| @ -299,8 +299,6 @@ export class AddonModForumDiscussionPage implements OnDestroy { | ||||
|                 const direction = this.sort == 'flat-newest' ? 'DESC' : 'ASC'; | ||||
|                 this.forumProvider.sortDiscussionPosts(posts, direction); | ||||
|             } | ||||
|             this.defaultSubject = this.translate.instant('addon.mod_forum.re') + ' ' + this.discussion.subject; | ||||
|             this.replyData.subject = this.defaultSubject; | ||||
| 
 | ||||
|             // Now try to get the forum.
 | ||||
|             return this.fetchForum().then((forum) => { | ||||
| @ -343,6 +341,10 @@ export class AddonModForumDiscussionPage implements OnDestroy { | ||||
|                 this.forum = {}; | ||||
|                 this.accessInfo = {}; | ||||
|             }).then(() => { | ||||
|                 this.defaultSubject = this.translate.instant('addon.mod_forum.re') + ' ' + | ||||
|                     (this.discussion ? this.discussion.subject : ""); | ||||
|                 this.replyData.subject = this.defaultSubject; | ||||
| 
 | ||||
|                 const startingPost = this.forumProvider.extractStartingPost(posts); | ||||
|                 if (startingPost) { | ||||
|                     // Update discussion data from first post.
 | ||||
|  | ||||
| @ -37,6 +37,13 @@ ion-app.app-root core-ion-tabs { | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         .tabbar[hidden] + .tabcontent { | ||||
|             width: 100%; | ||||
|             core-ion-tab { | ||||
|                 @include position(0, 0, 0, 0); | ||||
|             } | ||||
|         } | ||||
| 
 | ||||
|         .tabcontent { | ||||
|             width: calc(100% - #{($core-sidetab-size)}); | ||||
|             position: absolute; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user