Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.11.9 causes my dataviewjs query to "lose" an icon #443

Closed
mitchmeister opened this issue Apr 11, 2024 · 1 comment
Closed

2.11.9 causes my dataviewjs query to "lose" an icon #443

mitchmeister opened this issue Apr 11, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@mitchmeister
Copy link

Describe the bug
2.11.9 causes my dataviewjs query to "lose" an icon

Should look like this (2.11.5 & previous)
SCR-20240412-kpni

2.11.9 looks like this
SCR-20240412-kori

To Reproduce

const {fieldModifier: f} = this.app.plugins.plugins["metadata-menu"].api;

dv.table([':LiAlertCircle:', ':LiClock:', 'Task', 'Project', ':LiTimer:'], 
await Promise.all(
dv.pages('"@tasks"') 

.where((t) => {return ( t.dodate <= dv.date('today') && t.dodate !== null && (t.when?.includes('thisWeek') || t.when?.includes('scheduled')) ) })

.sort(t => [t.hour, t.project, dv.date(t.dodate), t.name])

.map(async t => [
	await f(dv, t, "essential"), 
	await f(dv, t, "hour"), 
	t.file.link, 
	await f(dv, t, "project"), 
	await f(dv, t, "duration"),
	])

))
@FlorianWoelki
Copy link
Owner

This is similar to #438.

@FlorianWoelki FlorianWoelki added the duplicate This issue or pull request already exists label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants