2021-08-06 08:31:17 +00:00
|
|
|
<!--
|
|
|
|
// Copyright © 2020 Anticrm Platform Contributors.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
-->
|
|
|
|
<script lang="ts">
|
2021-08-14 11:42:31 +00:00
|
|
|
import type { IntlString } from '@anticrm/platform'
|
2022-07-06 07:02:01 +00:00
|
|
|
import { getCurrentLocation, Label } from '@anticrm/ui'
|
2021-08-06 08:31:17 +00:00
|
|
|
|
2021-08-14 11:42:31 +00:00
|
|
|
export let label: IntlString
|
2021-12-06 09:12:58 +00:00
|
|
|
// export let action: () => Promise<void> | void
|
2022-07-06 07:02:01 +00:00
|
|
|
|
|
|
|
const loc = getCurrentLocation()
|
2021-08-06 08:31:17 +00:00
|
|
|
</script>
|
|
|
|
|
2022-02-03 09:16:15 +00:00
|
|
|
<div class="antiNav-header">
|
2022-04-29 05:27:17 +00:00
|
|
|
<div class="flex-row">
|
|
|
|
<span class="fs-title overflow-label"><Label {label} /></span>
|
2022-03-31 08:32:42 +00:00
|
|
|
<div>
|
2022-07-06 07:02:01 +00:00
|
|
|
{loc.path[1]}
|
2022-03-31 08:32:42 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-06 09:12:58 +00:00
|
|
|
<!-- <ActionIcon label={workbench.string.More} icon={IconMoreH} size={'small'} {action}/> -->
|
2021-08-06 08:31:17 +00:00
|
|
|
</div>
|