[Client] Fix bugs
This commit is contained in:
		
							parent
							
								
									0610acbf6e
								
							
						
					
					
						commit
						7eeb9c4962
					
				
					 2 changed files with 3 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -114,15 +114,14 @@
 | 
			
		|||
 | 
			
		||||
	</style>
 | 
			
		||||
	<script>
 | 
			
		||||
		this.mixin('api');
 | 
			
		||||
 | 
			
		||||
		import compile from '../../common/scripts/text-compiler';
 | 
			
		||||
		import dateStringify from '../../common/scripts/date-stringify';
 | 
			
		||||
 | 
			
		||||
		this.dateStringify = require('../../common/scripts/date-stringify');
 | 
			
		||||
		this.mixin('api');
 | 
			
		||||
		this.mixin('user-preview');
 | 
			
		||||
 | 
			
		||||
		this.post = this.opts.post;
 | 
			
		||||
		this.title = this.dateStringify(this.post.created_at);
 | 
			
		||||
		this.title = dateStringify(this.post.created_at);
 | 
			
		||||
 | 
			
		||||
		this.on('mount', () => {
 | 
			
		||||
			if (this.post.text) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,7 +29,6 @@
 | 
			
		|||
	</style>
 | 
			
		||||
	<script>
 | 
			
		||||
		this.mixin('api');
 | 
			
		||||
		this.mixin('get-post-summary');
 | 
			
		||||
 | 
			
		||||
		this.query = this.opts.query;
 | 
			
		||||
		this.isLoading = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue