Skip to content

Commit

Permalink
Fix: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
pKallert committed Nov 16, 2023
1 parent 234a31a commit 69cb8d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Classes/Controller/BackendServiceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,11 +621,10 @@ public function generateUriPathSegmentAction(string $contextNode, string $text):
}

/**
* Change base workspace of current user workspace
* Rebase user workspace to current workspace
*
* @param string $targetWorkspaceName
* @return void
* @throws \Exception
*/
public function rebaseWorkspaceAction(string $targetWorkspaceName): void
{
Expand Down
1 change: 0 additions & 1 deletion packages/neos-ui-sagas/src/Publish/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export function * watchRebaseWorkspace() {
try {
const feedback = yield call(rebaseWorkspace, action.payload);
yield put(actions.ServerFeedback.handleServerFeedback(feedback));

} catch (error) {
console.error('Failed to sync user workspace', error);
} finally {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, {Fragment, PureComponent} from 'react';
import React, {PureComponent} from 'react';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';

Expand Down Expand Up @@ -83,7 +83,7 @@ export default class SyncWorkspaceDialog extends PureComponent {
const confirmationLabel = i18nRegistry.translate(
'syncPersonalWorkSpaceConfirm',
'Synchronize now', {}, 'Neos.Neos.Ui', 'Main')
if(personalWorkspaceStatus !== 'OUTDATED'){
if (personalWorkspaceStatus !== 'OUTDATED') {
return (null);
}
return (
Expand Down

0 comments on commit 69cb8d7

Please sign in to comment.