File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed
Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -175,21 +175,27 @@ const handleCopy = (target) => {
175175 <tr v-for =" ns in namespaces" @click =" router.push(`/namespace/${ns.hash}`)" >
176176 <td >
177177 <Tooltip position =" start" >
178- <Flex @click = " handleCopy(ns.hash) " class = " copyable " align =" center" gap =" 6" >
178+ <Flex align =" center" gap =" 6" >
179179 <Icon name =" folder" size =" 14" color =" secondary" />
180180
181181 <template v-if =" ns .hash " >
182- <Text size =" 13" weight =" 600" color =" primary" >
183- {{ getNamespaceID(ns.namespace_id).slice(0, 4) }}
184- </Text >
185-
186- <Flex align =" center" gap =" 3" >
187- <div v-for =" dot in 3" class =" dot" />
182+ <Flex align =" center" gap =" 10" >
183+ <Flex align =" center" gap =" 6" >
184+ <Text size =" 13" weight =" 600" color =" primary" >
185+ {{ getNamespaceID(ns.namespace_id).slice(0, 4) }}
186+ </Text >
187+
188+ <Flex align =" center" gap =" 3" >
189+ <div v-for =" dot in 3" class =" dot" />
190+ </Flex >
191+
192+ <Text size =" 13" weight =" 600" color =" primary" >
193+ {{ getNamespaceID(ns.namespace_id).slice(-4) }}
194+ </Text >
195+ </Flex >
196+
197+ <CopyButton :text =" getNamespaceID(ns.namespace_id)" />
188198 </Flex >
189-
190- <Text size =" 13" weight =" 600" color =" primary" >
191- {{ getNamespaceID(ns.namespace_id).slice(-4) }}
192- </Text >
193199 </template >
194200 <template v-else >
195201 <Text size =" 13" weight =" 700" color =" secondary" mono >Genesis</Text >
You can’t perform that action at this time.
0 commit comments