From b9cd04651dfddb285ab0fccfb051afd0dcc18749 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ran=20Sander?= Date: Sat, 9 Sep 2023 22:25:55 +0200 Subject: [PATCH] fix: Show correct node status when tags have been deleted Fixes #49 --- CHANGELOG.md | 5 ++--- src/qseow/qseow-tag-nr.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b78eada..b4c8dde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,10 @@ ## [0.1.1](https://github.com/ptarmiganlabs/ctrl-q-nr/compare/v0.1.0...v0.1.1) (2023-09-09) - ### Bug Fixes -* Handle Windows line breaks in tag/app/task editors ([fb54601](https://github.com/ptarmiganlabs/ctrl-q-nr/commit/fb54601ee1da117854f80046af4c0de27be36030)), closes [#46](https://github.com/ptarmiganlabs/ctrl-q-nr/issues/46) -* Set default auth type to API key when creating new tenant config ([34703a8](https://github.com/ptarmiganlabs/ctrl-q-nr/commit/34703a841072d33d6c3cf974f46f97e4e8b513fd)), closes [#44](https://github.com/ptarmiganlabs/ctrl-q-nr/issues/44) +- Handle Windows line breaks in tag/app/task editors ([fb54601](https://github.com/ptarmiganlabs/ctrl-q-nr/commit/fb54601ee1da117854f80046af4c0de27be36030)), closes [#46](https://github.com/ptarmiganlabs/ctrl-q-nr/issues/46) +- Set default auth type to API key when creating new tenant config ([34703a8](https://github.com/ptarmiganlabs/ctrl-q-nr/commit/34703a841072d33d6c3cf974f46f97e4e8b513fd)), closes [#44](https://github.com/ptarmiganlabs/ctrl-q-nr/issues/44) ## [0.1.0](https://github.com/ptarmiganlabs/ctrl-q-nr/compare/v0.0.6...v0.1.0) (2023-09-07) diff --git a/src/qseow/qseow-tag-nr.js b/src/qseow/qseow-tag-nr.js index 74cfde1..357aeb9 100644 --- a/src/qseow/qseow-tag-nr.js +++ b/src/qseow/qseow-tag-nr.js @@ -110,7 +110,7 @@ module.exports = function (RED) { // Log success node.log(`Deleted tags: ${outMsg1.payload.tagDeleted}`); node.log(`Tags that did not exist on server: ${outMsg1.payload.tagNoExist}`); - node.status({ fill: 'green', shape: 'dot', text: 'tags created' }); + node.status({ fill: 'green', shape: 'dot', text: 'tags deleted' }); } else { // Invalid operation. Log error and return node.error(`Invalid operation: ${node.op}`);