Skip to content

Commit

Permalink
Merge pull request #7 from spyder007/feature/pipeline-fix
Browse files Browse the repository at this point in the history
Feature/pipeline fix
  • Loading branch information
spyder007 authored Oct 25, 2023
2 parents 6ff01c4 + e8fc5c1 commit b6882ed
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
path: MagicMirror/modules/MMM-GoogleTasks

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -55,4 +55,4 @@ jobs:
projectBaseDir: MagicMirror/modules/MMM-GoogleTasks
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# MMM-GoogleTasks

![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/spyder007/MMM-GoogleTasks/node.yml)
![Sonar Coverage](https://img.shields.io/sonar/coverage/spyder007_MMM-GoogleTasks/main?server=https%3A%2F%2Fsonarcloud.io)
![Sonar Violations (long format)](https://img.shields.io/sonar/violations/spyder007_MMM-GoogleTasks/main?server=https%3A%2F%2Fsonarcloud.io&label=sonar%20violations)

Module for the [MagicMirror²](https://github.com/MichMich/MagicMirror/) smart mirror.

Displays tasks from Google Tasks App
Expand Down
2 changes: 1 addition & 1 deletion src/backend/GoogleTaskService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class GoogleTaskService {
if (accountConfig.includedLists.length === 0) {
return true;
}
return accountConfig.includedLists.some((list) => list.match(listName));
return accountConfig.includedLists.some((list) => listName.match(list));
}

setTaskServiceWithCredentials(token: Token): void {
Expand Down
6 changes: 2 additions & 4 deletions src/frontend/Display.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,20 @@
margin: 0em .5em;
text-align: center;
color: white;
font-size: 1.0em;
border-radius: 25px;
}

.overdue {
background-color: red;
color: white;
}

.soon {
background-color: orange;
color: black;
background-color: #ad4107;
}

.upcoming {
background-color: green;
color: white;
}

.notes {
Expand Down

0 comments on commit b6882ed

Please sign in to comment.