Ghost/ghost/announcement-bar-settings
Naz 02f9ecb7c1
Fixed announcement showing to visitors when set to paid_members
refs https://github.com/TryGhost/Team/issues/3051

- The filter was not working properly when there was no logged in member, but the announcement filter was set to "paid_members" only
2023-04-21 15:27:18 +02:00
..
lib Fixed announcement showing to visitors when set to paid_members 2023-04-21 15:27:18 +02:00
test Fixed announcement showing to visitors when set to paid_members 2023-04-21 15:27:18 +02:00
.eslintrc.js Added filtering of announcement bar content 2023-04-21 13:46:37 +02:00
index.js Added filtering of announcement bar content 2023-04-21 13:46:37 +02:00
package.json Added filtering of announcement bar content 2023-04-21 13:46:37 +02:00
README.md Added filtering of announcement bar content 2023-04-21 13:46:37 +02:00

Announcement Bar Settings

Announcement Bar settings logic

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests