qpp-style 9.11.2 → 9.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ <svg viewBox="0 0 16 18" xmlns="http://www.w3.org/2000/svg">
2
+ <g transform="translate(1 1)" stroke="#717171" stroke-width="2" fill="none" fill-rule="evenodd"
3
+ stroke-linecap="round" stroke-linejoin="round">
4
+ <circle cx="5.988" cy="5.988" r="5.988" />
5
+ <path d="m13.474 15.233-3.256-3.256" />
6
+ </g>
7
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qpp-style",
3
- "version": "9.11.2",
3
+ "version": "9.12.2",
4
4
  "description": "Shared style guide across the QPP program.",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "https://cmsgov.github.io/qpp-style",
package/session/logout.js CHANGED
@@ -2,7 +2,11 @@ import cookie from 'cookie';
2
2
  import axios from 'axios';
3
3
 
4
4
  export const deleteImpersonatedUser = (cookies) => {
5
- if (cookies.hasOwnProperty('qpp_impersonated_user')) {
5
+ const userHasApmPayments = localStorage.getItem('user_has_apm_payments');
6
+ if (
7
+ cookies.hasOwnProperty('qpp_impersonated_user', 'user_has_apm_payments')
8
+ ) {
9
+ document.cookie = `user_has_apm_payments=${userHasApmPayments}; Path=/;`;
6
10
  document.cookie =
7
11
  'qpp_impersonated_user=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
8
12
  }