Skip to content

Commit

Permalink
Fix #15666. Fix custom metadata. (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix authored May 13, 2024
1 parent 739a5f1 commit bc4f73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notebookRunGroups/util/cellMetadataHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as vscode from 'vscode';

// Retrieve the cell run group value
export function getCellRunGroupMetadata(cell: vscode.NotebookCell): string {
const customMetadata = cell.metadata?.custom?.metadata?.notebookRunGroups;
const customMetadata = useCustomMetadata() ? cell.metadata?.custom?.metadata?.notebookRunGroups : cell.metadata?.metadata?.notebookRunGroups;

if (customMetadata && customMetadata.groupValue) {
return customMetadata.groupValue;
Expand Down

0 comments on commit bc4f73e

Please sign in to comment.