CLASSROOMIO-T-160: Limit teachers features

This commit is contained in:
Rotimi Best
2023-09-15 09:22:51 +01:00
parent 25eb5d2f9d
commit a1b607b20f
5 changed files with 24 additions and 9 deletions
@@ -13,12 +13,12 @@
export let isDisabled = false;
export let isLoading = false;
$: isDisabled = isLoading ? true : false;
$: isDisabled = isLoading ? true : isDisabled;
</script>
<button
class="{isDisabled
? 'bg-opacity-25 hover:bg-opacity-25 cursor-not-allowed'
? 'opacity-25 cursor-not-allowed'
: 'cursor-pointer'} flex items-center h-auto {VARIANTS_CLASS[
isLoading ? VARIANTS.OUTLINED : variant
]} {!disablePadding &&