This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
stateManagement/data/handlers Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ const RelationCell = (mdProps: CellComponentProps) => {
103103 getAlignmentClassname (
104104 tableColumn . config ,
105105 configInfo . getLocalSettings ( ) ,
106- [ "tabIndex" ]
106+ [ "tabIndex" , "tags-container" ]
107107 )
108108 ) }
109109 tabIndex = { 0 }
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export default class DataviewUpdaterHandlerAction extends AbstractTableAction<Da
5050 break ;
5151 }
5252 case DATAVIEW_UPDATER_OPERATIONS . UPDATE : {
53- if ( updaterData . isActive ) {
53+ if ( updaterData . isActive && isFileInDDBB ) {
5454 LOGGER . info ( `Refreshing File "${ updaterData . file } " is ignored due to active file update.` ) ;
5555 return updater ;
5656 }
@@ -83,11 +83,17 @@ export default class DataviewUpdaterHandlerAction extends AbstractTableAction<Da
8383 }
8484
8585 private checkIfFileIsInSource ( file : TFile , view : DatabaseView ) : boolean {
86+ const cachedFile = app . metadataCache . getFileCache ( file ) ;
8687 switch ( view . diskConfig . yaml . config . source_data ) {
8788 case SourceDataTypes . CURRENT_FOLDER :
8889 return file . parent . path . startsWith ( view . file . parent . path ) ;
8990 case SourceDataTypes . CURRENT_FOLDER_WITHOUT_SUBFOLDERS :
9091 return file . parent . path === view . file . parent . path ;
92+ case SourceDataTypes . TAG :
93+ return cachedFile . tags
94+ ?. some ( ( tagCache ) =>
95+ tagCache . tag === view . diskConfig . yaml . config . source_form_result
96+ ) ;
9197 }
9298 return true ;
9399 }
You can’t perform that action at this time.
0 commit comments