fix(client): fix #7774
This commit is contained in:
		
							parent
							
								
									b985e14b13
								
							
						
					
					
						commit
						76c5dc8999
					
				
					 2 changed files with 9 additions and 7 deletions
				
			
		|  | @ -24,6 +24,7 @@ | ||||||
| - アカウントデータのエクスポート/インポート処理ができない問題を修正 | - アカウントデータのエクスポート/インポート処理ができない問題を修正 | ||||||
| - アンテナの既読が付かない問題を修正 | - アンテナの既読が付かない問題を修正 | ||||||
| - popupで設定ページを表示すると、アカウントの削除ページにアクセスすることができない問題を修正 | - popupで設定ページを表示すると、アカウントの削除ページにアクセスすることができない問題を修正 | ||||||
|  | - "問題が発生しました"ウィンドウを開くと☓ボタンがなくて閉じれない問題を修正 | ||||||
| 
 | 
 | ||||||
| ## 12.90.1 (2021/09/05) | ## 12.90.1 (2021/09/05) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -28,14 +28,14 @@ | ||||||
| 				<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span> | 				<span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span> | ||||||
| 			</button> | 			</button> | ||||||
| 		</div> | 		</div> | ||||||
| 		<div class="buttons right"> |  | ||||||
| 			<template v-if="info.actions && !narrow"> |  | ||||||
| 				<button v-for="action in info.actions" class="_button button" :class="{ highlighted: action.highlighted }" @click.stop="action.handler" @touchstart="preventDrag" v-tooltip="action.text"><i :class="action.icon"></i></button> |  | ||||||
| 			</template> |  | ||||||
| 			<button v-if="shouldShowMenu" class="_button button" @click.stop="showMenu" @touchstart="preventDrag" v-tooltip="$ts.menu"><i class="fas fa-ellipsis-h"></i></button> |  | ||||||
| 			<button v-if="closeButton" class="_button button" @click.stop="$emit('close')" @touchstart="preventDrag" v-tooltip="$ts.close"><i class="fas fa-times"></i></button> |  | ||||||
| 		</div> |  | ||||||
| 	</template> | 	</template> | ||||||
|  | 	<div class="buttons right"> | ||||||
|  | 		<template v-if="info && info.actions && !narrow"> | ||||||
|  | 			<button v-for="action in info.actions" class="_button button" :class="{ highlighted: action.highlighted }" @click.stop="action.handler" @touchstart="preventDrag" v-tooltip="action.text"><i :class="action.icon"></i></button> | ||||||
|  | 		</template> | ||||||
|  | 		<button v-if="shouldShowMenu" class="_button button" @click.stop="showMenu" @touchstart="preventDrag" v-tooltip="$ts.menu"><i class="fas fa-ellipsis-h"></i></button> | ||||||
|  | 		<button v-if="closeButton" class="_button button" @click.stop="$emit('close')" @touchstart="preventDrag" v-tooltip="$ts.close"><i class="fas fa-times"></i></button> | ||||||
|  | 	</div> | ||||||
| </div> | </div> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  | @ -83,6 +83,7 @@ export default defineComponent({ | ||||||
| 		}, | 		}, | ||||||
| 
 | 
 | ||||||
| 		shouldShowMenu() { | 		shouldShowMenu() { | ||||||
|  | 			if (this.info == null) return false; | ||||||
| 			if (this.info.actions != null && this.narrow) return true; | 			if (this.info.actions != null && this.narrow) return true; | ||||||
| 			if (this.info.menu != null) return true; | 			if (this.info.menu != null) return true; | ||||||
| 			if (this.info.share != null) return true; | 			if (this.info.share != null) return true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue