chore: minor fixes and improvements
This commit is contained in:
@@ -3,15 +3,13 @@
|
||||
<header
|
||||
class="flex space-x-2 flex-1 py-2 px-2 items-center justify-between"
|
||||
>
|
||||
<div class="space-x-2 group inline-flex items-center">
|
||||
<div class="space-x-2 inline-flex items-center">
|
||||
<ButtonSecondary
|
||||
class="tracking-wide !font-bold !text-secondaryDark"
|
||||
label="HOPPSCOTCH"
|
||||
to="/"
|
||||
/>
|
||||
<AppGitHubStarButton
|
||||
class="mt-1.5 transition hidden group-hover:flex"
|
||||
/>
|
||||
<AppGitHubStarButton class="mt-1.5 transition" />
|
||||
</div>
|
||||
<div class="space-x-2 inline-flex items-center">
|
||||
<ButtonSecondary
|
||||
|
||||
@@ -162,7 +162,6 @@ export default defineComponent({
|
||||
requestIndex: insertionIndex,
|
||||
})
|
||||
} else if (this.picked.pickedType === "my-collection") {
|
||||
debugger
|
||||
const insertionIndex = saveRESTRequestAs(
|
||||
`${this.picked.collectionIndex}`,
|
||||
requestUpdated
|
||||
|
||||
@@ -766,7 +766,6 @@ export function editRESTRequest(
|
||||
|
||||
export function saveRESTRequestAs(path: string, request: HoppRESTRequest) {
|
||||
// For calculating the insertion request index
|
||||
debugger
|
||||
const targetLocation = navigateToFolderWithIndexPath(
|
||||
restCollectionStore.value.state,
|
||||
path.split("/").map((x) => parseInt(x))
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
}}
|
||||
</SmartToggle>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<!-- <div class="flex items-center">
|
||||
<SmartToggle
|
||||
:on="LEFT_SIDEBAR"
|
||||
@change="toggleSetting('LEFT_SIDEBAR')"
|
||||
@@ -195,7 +195,7 @@
|
||||
LEFT_SIDEBAR ? $t("state.enabled") : $t("state.disabled")
|
||||
}}
|
||||
</SmartToggle>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="flex items-center">
|
||||
<SmartToggle :on="ZEN_MODE" @change="toggleSetting('ZEN_MODE')">
|
||||
{{ $t("layout.zen_mode") }}
|
||||
|
||||
Reference in New Issue
Block a user