|
|
@ -49,6 +49,15 @@ const Icon = computed(() => { |
|
|
|
return MdiAccountGroupIcon |
|
|
|
return MdiAccountGroupIcon |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const changeLockType = (type) => { |
|
|
|
|
|
|
|
$e('a:grid:lockmenu', { lockType: type }) |
|
|
|
|
|
|
|
if (type === 'personal') { |
|
|
|
|
|
|
|
return toast.info('Coming soon') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// $emit('input', type); |
|
|
|
|
|
|
|
toast.success(`Successfully Switched to ${type} view`) |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
@ -62,7 +71,6 @@ const Icon = computed(() => { |
|
|
|
<div class="nc-menu-item"> |
|
|
|
<div class="nc-menu-item"> |
|
|
|
<MdiCheckIcon v-if="!vModel || vModel === LockType.Collaborative" /> |
|
|
|
<MdiCheckIcon v-if="!vModel || vModel === LockType.Collaborative" /> |
|
|
|
<span v-else /> |
|
|
|
<span v-else /> |
|
|
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<MdiAccountGroupIcon /> |
|
|
|
<MdiAccountGroupIcon /> |
|
|
|
Collaborative view |
|
|
|
Collaborative view |
|
|
|