mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	
							parent
							
								
									72b616a990
								
							
						
					
					
						commit
						f00d543447
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -31,6 +31,7 @@
 | 
			
		|||
- クライアント: ヘッダーにタブが表示されている状態でタイトルをクリックしたときにタブ選択が表示されるのを修正
 | 
			
		||||
- クライアント: ユーザーページのタブが機能していない問題を修正
 | 
			
		||||
- クライアント: ピン留めユーザーの設定項目がない問題を修正
 | 
			
		||||
- クライアント: Deck UIにおいて、重ねたカラムの片方を畳んだ状態で右に出すと表示が壊れる問題を修正
 | 
			
		||||
- API: 管理者およびモデレーターをブロックできてしまう問題を修正
 | 
			
		||||
 | 
			
		||||
## 12.91.0 (2021/09/22)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -219,10 +219,20 @@ export function stackLeftColumn(id: Column['id']) {
 | 
			
		|||
export function popRightColumn(id: Column['id']) {
 | 
			
		||||
	let layout = copy(deckStore.state.layout);
 | 
			
		||||
	const i = deckStore.state.layout.findIndex(ids => ids.includes(id));
 | 
			
		||||
	const affected = layout[i];
 | 
			
		||||
	layout = layout.map(ids => ids.filter(_id => _id !== id));
 | 
			
		||||
	layout.splice(i + 1, 0, [id]);
 | 
			
		||||
	layout = layout.filter(ids => ids.length > 0);
 | 
			
		||||
	deckStore.set('layout', layout);
 | 
			
		||||
 | 
			
		||||
	const columns = copy(deckStore.state.columns);
 | 
			
		||||
	for (const column of columns) {
 | 
			
		||||
		if (affected.includes(column.id)) {
 | 
			
		||||
			column.active = true;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	deckStore.set('columns', columns);
 | 
			
		||||
 | 
			
		||||
	saveDeck();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue