fix: remove provider icon from front of synced tasks
Only keep the provider logo at the far right of each synced task. v1.15.2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3ea57fb8b4
commit
57c1c0e1c3
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "my-weekly-todo-list",
|
||||
"version": "1.15.0",
|
||||
"version": "1.15.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "my-weekly-todo-list",
|
||||
"version": "1.15.0",
|
||||
"version": "1.15.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@auth/prisma-adapter": "^2.11.1",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "my-weekly-todo-list",
|
||||
"version": "1.15.1",
|
||||
"version": "1.15.2",
|
||||
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@ -6992,23 +6992,6 @@ function TaskItem({
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{task.externalProvider && !isSomeday && (
|
||||
<span
|
||||
title={`Synced with ${task.externalProvider === "outlook" ? "Microsoft To Do" : task.externalProvider === "google" ? "Google Tasks" : task.externalProvider === "apple" ? "Apple Reminders" : task.externalProvider === "synology" ? "Synology Tasks" : task.externalProvider}`}
|
||||
className="flex-shrink-0"
|
||||
style={{ display: "inline-flex", alignItems: "center", opacity: needsSync ? 0.5 : 0.6, fontSize: "10px" }}
|
||||
>
|
||||
{task.externalProvider === "google" ? (
|
||||
<FontAwesomeIcon icon={faGoogle} style={{ width: 11, height: 11, color: "#4285F4" }} />
|
||||
) : task.externalProvider === "outlook" ? (
|
||||
<FontAwesomeIcon icon={faMicrosoft} style={{ width: 11, height: 11, color: "#0078D4" }} />
|
||||
) : task.externalProvider === "apple" ? (
|
||||
<FontAwesomeIcon icon={faApple} style={{ width: 11, height: 11, color: "#555" }} />
|
||||
) : task.externalProvider === "synology" ? (
|
||||
<FontAwesomeIcon icon={faServer} style={{ width: 11, height: 11, color: "#007AFF" }} />
|
||||
) : null}
|
||||
</span>
|
||||
)}
|
||||
<span
|
||||
style={{
|
||||
whiteSpace: "pre-wrap",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user