File tree Expand file tree Collapse file tree 7 files changed +19
-12
lines changed
Expand file tree Collapse file tree 7 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
66
7+ ## [2025-09-11] - v1.150.1
8+
9+ ### Fixed:
10+
11+ - "Something went wrong" error on firewall create ([#12859](https://github.com/linode/manager/pull/12859))
12+
713## [2025-09-09] - v1.150.0
814
915### Added:
Original file line number Diff line number Diff line change 22 "name" : " linode-manager" ,
33 "author" : " Linode" ,
44 "description" : " The Linode Manager website" ,
5- "version" : " 1.150.0 " ,
5+ "version" : " 1.150.1 " ,
66 "private" : true ,
77 "type" : " module" ,
88 "bugs" : {
189189 " Firefox ESR" ,
190190 " not dead"
191191 ]
192- }
192+ }
Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ export const useQueryWithPermissions = <T extends EntityBase>(
181181 const permissions = entityPermissionsMap [ entity . id ] ;
182182 return (
183183 ! profile ?. restricted ||
184- permissionsToCheck . every ( ( permission ) => permissions [ permission ] )
184+ ( permissions &&
185+ permissionsToCheck . every ( ( permission ) => permissions [ permission ] ) )
185186 ) ;
186187 } ) ;
187188
Original file line number Diff line number Diff line change 1+ ## [ 2025-09-11] - v0.13.1
2+
3+ ### Fixed:
4+
5+ - Restricted user with account access unable to access billing page on new session ([ #12861 ] ( https://github.com/linode/manager/pull/12861 ) )
6+
17## [ 2025-09-09] - v0.13.0
28
39### Upcoming Features:
Original file line number Diff line number Diff line change 11{
22 "name" : " @linode/queries" ,
3- "version" : " 0.13.0 " ,
3+ "version" : " 0.13.1 " ,
44 "description" : " Linode Utility functions library" ,
55 "main" : " src/index.js" ,
66 "module" : " src/index.ts" ,
Original file line number Diff line number Diff line change @@ -17,14 +17,12 @@ import type {
1717 Token ,
1818} from '@linode/api-v4' ;
1919
20- export const useAccount = ( ) => {
21- const { data : profile } = useProfile ( ) ;
22-
20+ export const useAccount = ( enabled : boolean = true ) => {
2321 return useQuery < Account , APIError [ ] > ( {
2422 ...accountQueries . account ,
2523 ...queryPresets . oneTimeFetch ,
2624 ...queryPresets . noRetry ,
27- enabled : ! profile ?. restricted ,
25+ enabled,
2826 } ) ;
2927} ;
3028
Original file line number Diff line number Diff line change @@ -2,21 +2,17 @@ import { updateAccountSettings } from '@linode/api-v4/lib/account';
22import { useMutation , useQuery , useQueryClient } from '@tanstack/react-query' ;
33
44import { queryPresets } from '../base' ;
5- import { useProfile } from '../profile' ;
65import { accountQueries } from './queries' ;
76
87import type { AccountSettings } from '@linode/api-v4/lib/account' ;
98import type { APIError } from '@linode/api-v4/lib/types' ;
109import type { QueryClient } from '@tanstack/react-query' ;
1110
1211export const useAccountSettings = ( ) => {
13- const { data : profile } = useProfile ( ) ;
14-
1512 return useQuery < AccountSettings , APIError [ ] > ( {
1613 ...accountQueries . settings ,
1714 ...queryPresets . oneTimeFetch ,
1815 ...queryPresets . noRetry ,
19- enabled : ! profile ?. restricted ,
2016 } ) ;
2117} ;
2218
You can’t perform that action at this time.
0 commit comments