Skip to content

Commit

Permalink
fix(WebviewController): Fix Copypasta
Browse files Browse the repository at this point in the history
archived count and duplicated count were mixed up

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Aug 5, 2024
1 parent 1a22935 commit 1c72421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Controller/WebViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ public function index(): AugmentedTemplateResponse {

$this->initialState->provideInitialState($this->appName, 'folders', $this->folderController->getFolders()->getData()['data']);
$this->initialState->provideInitialState($this->appName, 'deletedFolders', $this->folderController->getDeletedFolders()->getData()['data']);
$this->initialState->provideInitialState($this->appName, 'duplicatedCount', $this->bookmarkController->countArchived()->getData()['item']);
$this->initialState->provideInitialState($this->appName, 'archivedCount', $this->bookmarkController->countDuplicated()->getData()['item']);
$this->initialState->provideInitialState($this->appName, 'archivedCount', $this->bookmarkController->countArchived()->getData()['item']);
$this->initialState->provideInitialState($this->appName, 'duplicatedCount', $this->bookmarkController->countDuplicated()->getData()['item']);
$this->initialState->provideInitialState($this->appName, 'unavailableCount', $this->bookmarkController->countUnavailable()->getData()['item']);
$this->initialState->provideInitialState($this->appName, 'allCount', $this->bookmarkController->countBookmarks(-1)->getData()['item']);
$this->initialState->provideInitialState($this->appName, 'allClicksCount', $this->bookmarkController->countAllClicks()->getData()['item']);
Expand Down

0 comments on commit 1c72421

Please sign in to comment.