fix: Show push notifications settings except Safari (#1741)

This commit is contained in:
Pranav Raj S
2021-02-08 16:39:15 +05:30
committed by GitHub
parent d4c2a78db6
commit df0d7262b4
3 changed files with 16 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
<button class="button small button--copy-code" @click="onCopy">
{{ $t('COMPONENTS.CODE.BUTTON_TEXT') }}
</button>
<highlightjs :language="lang" :code="script" />
<highlightjs v-if="script" :language="lang" :code="script" />
</div>
</template>
@@ -15,7 +15,7 @@ export default {
props: {
script: {
type: String,
required: true,
default: '',
},
lang: {
type: String,