Skip to content

Commit

Permalink
fix: 권한 수정, 저장 로직 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sejongpark committed Jan 30, 2024
1 parent 247c3c4 commit e71a939
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const manifest = {
version: packageJson.version,
description: packageJson.description,

permissions: ['storage', 'sidePanel', 'activeTab', 'tabs'],
permissions: ['storage', 'sidePanel'],
host_permissions: ['https://pre-view.store/*'],

side_panel: {
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/pages/sidepanel/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ const SidePanel = () => {
const summaryParts = summary.split('*****');
const summaryByTimesText = summaryParts[0].trim();
const summaryContent = summaryParts.length > 1 ? summaryParts[1].trim() : '';
const category = summaryParts.length > 2 ? summaryParts[2].trim() : '';
let category = summaryParts.length > 2 ? summaryParts[2].trim() : '';
category = category.replace(/ \.$/, '').trim();

//...저장기능...//
const toggleSave = async () => {
Expand Down

0 comments on commit e71a939

Please sign in to comment.