Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
walmazacn committed Aug 1, 2024
1 parent 878fc0a commit 179a470
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/lifecycleManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -641,4 +641,4 @@ class LifecycleManager extends LuigiClientBase {

const _lifecycleManager = new LifecycleManager();

export default _lifecycleManager
export default _lifecycleManager;
5 changes: 3 additions & 2 deletions client/src/linkManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class linkManager extends LuigiClientBase {
return modalPromise['promise'];
}

/**
/**
* <!-- label-success: Web Component API -->
* Updates the current title and size of a modal. If `routing.showModalPathInUrl` is set to `true`, the URL will be updated with the modal settings data.
* In addition, you can specify if a new history entry will be created with the updated URL.
Expand Down Expand Up @@ -335,7 +335,8 @@ class linkManager extends LuigiClientBase {
* LuigiClient.linkManager().fromClosestContext().navigate('/users/groups/stakeholders')
*/
fromClosestContext(): LinkManager {
const hasParentNavigationContext: boolean = !!_lifecycleManager.currentContext?.context?.parentNavigationContexts?.length;
const hasParentNavigationContext: boolean = !!_lifecycleManager.currentContext?.context?.parentNavigationContexts
?.length;

if (hasParentNavigationContext) {
this.options['fromContext'] = null;
Expand Down
3 changes: 2 additions & 1 deletion client/src/luigi-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ namespace LuigiClient {
export const addNodeParams = (params: NodeParams, keepBrowserHistory: boolean): void =>
_clientBuilder.addNodeParams(params, keepBrowserHistory);

export const getNodeParams = (shouldDesanitise?: boolean): NodeParams => _clientBuilder.getNodeParams(shouldDesanitise);
export const getNodeParams = (shouldDesanitise?: boolean): NodeParams =>
_clientBuilder.getNodeParams(shouldDesanitise);

export const getActiveFeatureToggles = (): string[] => _clientBuilder.getActiveFeatureToggles();

Expand Down
1 change: 0 additions & 1 deletion client/src/storageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,3 @@ class StorageEventProcessor {
const _storageManager = new StorageManager();

export default _storageManager;

0 comments on commit 179a470

Please sign in to comment.