mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-31 02:08:58 +00:00
Merge branch 'dev' into feat/inter-font
This commit is contained in:
@@ -44,6 +44,15 @@ describe('House app sheets', () => {
|
||||
)
|
||||
})
|
||||
|
||||
it('can expose key revocation without advertising key grants', () => {
|
||||
expect(source).toContain(
|
||||
'v-if="selectedProperty.capabilities.keyGrant !== false"',
|
||||
)
|
||||
expect(source).toContain(
|
||||
'<section v-if="selectedProperty.capabilities.keys" class="house-keys">',
|
||||
)
|
||||
})
|
||||
|
||||
it('centers the resident icon above the Give a Key title', () => {
|
||||
expect(source).toMatch(
|
||||
/\.house-candidates > svg\s*\{[^}]*display:\s*block;[^}]*margin:\s*0 auto;/s,
|
||||
|
||||
@@ -464,6 +464,7 @@ onBeforeUnmount(() => {
|
||||
><strong>{{ phone.t('Apps.house.keys') }}</strong></span
|
||||
>
|
||||
<sky-button
|
||||
v-if="selectedProperty.capabilities.keyGrant !== false"
|
||||
rounded
|
||||
small
|
||||
inline
|
||||
|
||||
Reference in New Issue
Block a user